Perl Monk, Perl Meditation | |
PerlMonks |
Re^3: Mapping list to hash is dropping list itemsby Fletch (Bishop) |
on Mar 16, 2022 at 17:14 UTC ( [id://11142147]=note: print w/replies, xml ) | Need Help?? |
When used like this the diamond operator is actually glob which generates a list of filenames; those filenames are used to populate @ARGV and (yes) then the plain <> readline version will implicitly read from those files. The block was (my guess) probably intended to scope the local change to @ARGV to just that section of code.
The cake is a lie.
In Section
Seekers of Perl Wisdom
|
|