Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Extracting a file from .gz archive

by Bloodnok (Vicar)
on May 14, 2008 at 10:11 UTC ( [id://686488]=note: print w/replies, xml ) Need Help??


in reply to Extracting a file from .gz archive

Hi ,

If you want to extract a file to a path, use the

extract_file( $file, [$extract_path] )
method. Also, you probably want to call the error() method after the read() and extract_file() calls.

For further info perldoc Archive::Tar ...

HTH

At last, a user level that best describes my experience :-))

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2024-04-16 07:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found