![]() |
|
XP is just a number | |
PerlMonks |
Re: Why is my code producing weird output?by NetWallah (Canon) |
on Aug 30, 2023 at 23:23 UTC ( [id://11154177]=note: print w/replies, xml ) | Need Help?? |
The code works fine for me : Output:
My perl : This is perl 5, version 34, subversion 0 (v5.34.0) built for x86_64-linux-gnu-thread-multi
Your code uses an un-declared $a which is also used by sort. "These opinions are my own, though for a small fee they be yours too."
In Section
Seekers of Perl Wisdom
|
|