Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Perl globbing syntax with $variables?

by dave_the_m (Parson)
on Aug 01, 2012 at 20:23 UTC ( #984889=note: print w/ replies, xml ) Need Help??


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.


Comment on Re: Perl globbing syntax with $variables?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://984889]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2014-10-21 23:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (112 votes), past polls