Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: To glob or not to globby choroba (Cardinal) |
on Jan 08, 2018 at 10:43 UTC ( [id://1206895]=note: print w/replies, xml ) | Need Help?? |
Another potential danger of glob is its usage in scalar context. It should return the matches one by one, but the iterator is assigned to the place where glob is used and isn't reset when a new parameter is supplied to it:
<Reveal this spoiler or all in this thread>
In Section
Meditations
|
|