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

Re^3: using wildcard character * in perlscript command line

by Aristotle (Chancellor)
on Jan 28, 2005 at 17:25 UTC ( #426045=note: print w/ replies, xml ) Need Help??


in reply to Re^2: using wildcard character * in perlscript command line
in thread using wildcard character * in perlscript command line

Perl's glob was originally implemented in terms of csh's. From man csh:

If a word contains any of the characters *, ?, [ or { or begins with the character ~ it is a candidate for filename substitution, also known as globbing.

If you use the bsdglob function from File::Glob (which is how glob is implemented nowadays), you can pick behaviour as desired.

Makeshifts last the longest.


Comment on Re^3: using wildcard character * in perlscript command line

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (12)
As of 2014-12-18 09:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (48 votes), past polls