Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: The question hpunixguy2 was too scared to ask - How does he quote shell meta characters

by davis (Vicar)
on Mar 07, 2006 at 21:32 UTC ( #535038=note: print w/ replies, xml ) Need Help??


in reply to The question hpunixguy2 was too scared to ask - How does he quote shell meta characters

Hey there, GrandFather! Welcome to the Monastery. Here's one way:
while (<DATA>) { #fix the file name here chomp; $_ = quotemeta; print $_, "\n"; }

davis
Kids, you tried your hardest, and you failed miserably. The lesson is: Never try.


Comment on Re: The question hpunixguy2 was too scared to ask - How does he quote shell meta characters
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2014-11-28 13:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (197 votes), past polls