Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 cooling their heels in the Monastery: (8)
As of 2015-07-07 01:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (86 votes), past polls