Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^9: System() in list mode?

by ikegami (Pope)
on Oct 19, 2011 at 00:58 UTC ( #932265=note: print w/ replies, xml ) Need Help??


in reply to Re^8: System() in list mode?
in thread System() in list mode?

You don't have to do anything at all.

system('tar', 'cvzf', 'my_tarball.tgz', $path);

Again, the multi-arg form of system does not invoke the shell, so you can pass all the spaces, quotes and dollars signs you want and no shell will touch them.


Comment on Re^9: System() in list mode?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2014-12-28 11:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (180 votes), past polls