laziness, impatience, and hubris | |
PerlMonks |
Re: Perl globbing syntax with $variables?by dave_the_m (Monsignor) |
on Aug 01, 2012 at 20:23 UTC ( [id://984889]=note: print w/replies, xml ) | Need Help?? |
The diamond operator is dual-purpose - both read a line from a filehandle, and expand a file wildcard list. Where it's ambiguous which form you want, you have to tell perl explicitly. Dave.
In Section
Seekers of Perl Wisdom
|
|