in reply to can't unzip file
Where is $GunzipError defined or assigned?
More verbosely (note - I have not tried this): the example use line in IO::Uncompress::Gunzip is use IO::Uncompress::Gunzip qw(gunzip $GunzipError);. The stuff within the qw tells the module that it should define $GunzipError and export it to your current package (ok, a very simplified explanation). Unless you include that, you will need to access $GunzipError probably like this: $IO::Uncompress::Gunzip::GunzipError.
--MidLifeXis
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: can't unzip file
by Anonymous Monk on Jan 28, 2011 at 19:59 UTC | |
by Anonymous Monk on Jan 28, 2011 at 20:07 UTC |