The stupid question is the question not asked | |
PerlMonks |
Re^6: Sorting text-number valuesby merrymonk (Hermit) |
on Nov 30, 2016 at 10:49 UTC ( [id://1176916]=note: print w/replies, xml ) | Need Help?? |
If I use exactly your Perl, I get the output. If I ‘hash’ out your ‘use 5.010;’ - I get the following error message on the MSDOS screen Bareword "say" not allowed while "strict subs" in use at ………..amonk_f_sort.pz line 28. Using and the output is perl version v5.20.2 Therefore it seems it is something to do with the version of Perl being used. It would be good to know how to change your Perl so that it works using 'use strict;" and with my current version of Perl (and I would like to know where the sorted data is stored or how I can store it in an array).
In Section
Seekers of Perl Wisdom
|
|