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.@FILES = glob $WantedFiles;
Dave.
In reply to Re: Perl globbing syntax with $variables?
by dave_the_m
in thread Perl globbing syntax with $variables?
by shadowfox
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |