I would suggest the word learn’t is an archaic pronunciation of the word learned.
It is spoken by the old country folk of scottish heritage around here, East Tennessee and especially south west Virginia. It is seldom heard now.
“I learn’t to wash my hands before eating”
Archaic, perhaps, in the sense that it's loyal to original Mother Tongue, but not archaic if you mean learnt is no longer an appropriate past tense or past participle of the verb learn.
The Oxford English Dictionary - the OED - doesn't say learnt is archaic, it says it's 'chiefly British.'
Again, that's the OED, the definitive dictionary of the English language, all 20 volumes and and 21,728 pages of it.
It's not uncommon outside of urban and suburban areas in central and western North Carolina. While Scotch-Irish descendants might predominate in the use of it now, the origin is very English.