We don't bite newbies here... much | |
PerlMonks |
Re: Untaring with perlby ait (Hermit) |
on Aug 24, 2005 at 17:40 UTC ( [id://486310]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|