![]() |
|
go ahead... be a heretic | |
PerlMonks |
Re^2: Strange behaviour when using glob in if conditionby LanX (Saint) |
on Apr 11, 2017 at 21:25 UTC ( #1187691=note: print w/replies, xml ) | Need Help?? |
Brilliant analysis! Sounds like we need a warning if glob is used in scalar context with a pattern holding interpolated variables. :/ I for my part will now only use for glob() constructs for looping over a static list.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|