in reply to Archive::Zip - what am I missing?
I added a warn line around line 280 in Archive.pm:Can't locate object method "_writeToFileHandle" via package "image2.gi +f" (perhaps you forgot to load "image2.gif"?) at /usr/lib/perl5/site_ +perl/5.8.5/Archive/Zip/Archive.pm line 280.
and it spits out:282 foreach my $member ( $self->members() ) { 283 use Data::Dumper; 284 warn ("DEBUG: member: " . Dumper($member)); 285 my $retval = $member->_writeToFileHandle( $fh, $fhIsSe +ekable, $o 285 ffset );
To me it looks like $member is a scalar string when it should have been a ref to a Archive::Zip::Member or something. I suggest you investigate this a little further and file a bug report.DEBUG: member: $VAR1 = 'image2.gif'; Can't locate object method "_writeToFileHandle" via package "image2.gi +f" (perhaps you forgot to load "image2.gif"?) at /usr/lib/perl5/site_ +perl/5.8.5/Archive/Zip/Archive.pm line 285.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Archive::Zip - what am I missing?
by Anonymous Monk on Apr 10, 2008 at 10:38 UTC | |
by andreas1234567 (Vicar) on Apr 10, 2008 at 11:09 UTC |