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 samp

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: [

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 '$#

Re: Can Perl 'nice' a process?

2005-03-05 Thread Gerhard Meier
On Fri, Mar 04, 2005 at 02:31:11PM -0600, Dave Kettmann wrote: > Im sure Perl can nice a process but I guess I dont know what > the correct term is. I guess if I just start with the correct > term I can discover how to use it. Then again, I may just have to > 'nice' it in the shell. Any help is app