in reply to Re^7: Listing of files using glob
in thread Listing of files using glob
It's a bit more complicated. The OP uses $& as the hash key after matching />.*/, which removes the newline (as . does not match a newline), but it can overwrite a previous hash value if the line does not match, which we cannot tell without seeing the input data.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^9: Listing of files using glob
by MidLifeXis (Monsignor) on Jan 05, 2012 at 14:12 UTC | |
Re^9: Listing of files using glob
by AG87 (Acolyte) on Jan 06, 2012 at 05:16 UTC | |
by AG87 (Acolyte) on Jan 06, 2012 at 08:54 UTC |
In Section
Seekers of Perl Wisdom