in reply to Re: Strange behaviour when using glob in if condition
in thread Strange behaviour when using glob in if condition
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
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
|
|---|