Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: How can I stop ARGV from globbing all over the place?

by Chmrr (Vicar)
on Jul 23, 2002 at 17:39 UTC ( #184515=note: print w/ replies, xml ) Need Help??


in reply to How can I stop ARGV from globbing all over the place?

Don'y blame perl and @ARGV -- blame your shell. It's the shell which is doing the expansion on the globm before it ever hits perl.

The method you've described, of assuming it's one mode until told otherwise, isn't wrong at all; in fact, it's rather canonical.

perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'


Comment on Re: How can I stop ARGV from globbing all over the place?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2016-02-08 00:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (265 votes), past polls