IO::Scalar and Archive::Zip

2005-07-24 Thread Gerhard Meier
Hi, I want to fetch a zip file from the net with LWP::UserAgent and then use Archive::Zip to manipulate it. But I don't want to store the zip file on the disk (if possible). This is where IO::Scalar came in. But it seems that Archive::Zip doesn't work together with IO::Scalar. Here is a litte

Re: Operation `eq': no method

2005-04-13 Thread Gerhard Meier
On Wed, Apr 13, 2005 at 08:38:25AM +0200, Ing. Branislav Gerzo wrote: AKK if ($subject eq '' || !defined $subject) why you don't use: unless ($subject) { some_operation } Maybe 0 is a valid subject. /GM -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Simplify perl -e '$a = [1,2,3,4,7]; print $a-[$#{@$a}]'

2005-03-11 Thread Gerhard Meier
On Thu, Mar 10, 2005 at 11:10:06AM -0500, Wiggins d'Anconia wrote: Btw ... What perldoc can I read to read about '$#'? Not sure, a quick glance at perldata discusses the -1 index usage, but didn't turn up $# that I could see. Its in the books :-). wiggim$ perldoc perldata | fgrep -c '$#'