Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 having an uproarious good time at the Monastery: (6)
As of 2015-07-05 13:36 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 (67 votes), past polls