We don't bite newbies here... much | |
PerlMonks |
Re^3: output using mapby Marshall (Canon) |
on Mar 07, 2020 at 01:35 UTC ( [id://11113926]=note: print w/replies, xml ) | Need Help?? |
I think you are correct about the intent of unpack. However this is a bad way to do it, if that is the intent. There might also be some issue related to UTF-8 filenames? But again this is not the "right way". I chomped the input lines and added back in a platform specific line ending in the print because in general, I don't store line endings in data structures because I strive for multi-platform code. Yes, foreach (keys %first_file) {} could be: foreach (sort keys %first_file) {}
In Section
Seekers of Perl Wisdom
|
|