Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Untaring with perl

by ait (Hermit)
on Aug 24, 2005 at 17:40 UTC ( [id://486310]=note: print w/replies, xml ) Need Help??


in reply to Untaring with perl

perldoc -f exec
perldoc -f system
my favorite: you can execute a shell command by using the backtick assigning the result to a variable:
my $hoo = `tar xvfz /tmp/foo`;
(note that in the example you will not get the actual contents of the tar, you will only get the listing that the tar command outputs)

--
Alejandro

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-20 14:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found