Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 ( [id://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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-03-28 17:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found