http://www.perlmonks.org?node_id=984889


in reply to Perl globbing syntax with $variables?

@FILES = glob $WantedFiles;
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.