We're all told (or do the telling of) "use strict always!" and "barewords are bad". But the motivation for why barewords are bad might not be clear.
Back in the Perl3 days, when barewords were added, I came up with this interesting little puzzle. See if you can solve it. Don't post your answers without hiding them somehow (readmore, black-on-black, or some other way).
The PuzzlePresuming no "use strict" (or the days of Perl3), why does:
work OK, but@days = (sun,mon,tue,wed,thu,fri,sat);
fail?@months = (jan,feb,mar,apr,may,jun,jul,aug,sep,oct,nov,dec);