Re: Trying to get NULL with use strict; - How???

2002-01-26 Thread Chris Anderson
gt; 2) 4 > 3) 5 > > If there are no more Items, I want the loop to exit > > :) > > Thanks! > > > Tanton Gibbs wrote: > >> Sorry, my mistake...you wanted >> >> if( $i != NULL ) >> >> and I gav

Re: Trying to get NULL with use strict; - How???

2002-01-26 Thread Chris Anderson
i != NULL ) > > and I gave you > > if( !$i ) > > when I should have given > > if( $i ) > > - Original Message - > > * From:* Chris Anderson <mailto:[EMAIL PROTECTED]> > > * To:* Tanton Gibbs <mailto:[EMAIL PROTECTED]> > >

Re: Trying to get NULL with use strict; - How???

2002-01-26 Thread Chris Anderson
be greatly appreciated! :) thanks, Chris Tanton Gibbs wrote: >I'm not sure what you want here, but there is no NULL in perl. > >You might mean undef or 0, in which you can just say >if( !$i ) { > ... >} > >HTH, >Tanton >- Original Message - >From: "Chris

Re: Trying to get NULL with use strict; - How???

2002-01-26 Thread Chris Anderson
on what is really happening. > >Wags ;) > >-Original Message- >From: Chris Anderson [mailto:[EMAIL PROTECTED]] >Sent: Saturday, January 26, 2002 09:36 >To: [EMAIL PROTECTED] >Subject: Trying to get NULL with use strict; - How??? > > >The follo

Trying to get NULL with use strict; - How???

2002-01-26 Thread Chris Anderson
uot;$j) ", "$value[$i]\n" ; } } as I have: use strict; At the very top. But I need a way to check and see if the array is empty... (4 items, but can have 20) How would I do this??? TIA! -- Chris Anderson -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How to detect the correct OS:

2002-01-14 Thread Chris Anderson
I need to find out which OS I am on - It would be nice to know: Ref Hiat Mandrake Slackware W2K W98 WME WXP Solaris AIX, etc but Unix Linux W32 is fine also How can I do this??? TIA! -- Chris Anderson CTO C&P Enterprises http://www.candp-ent.com/ -- To unsubscribe, e-

2 simple questions...

2002-01-14 Thread Chris Anderson
h variable? TIA! -- Chris Anderson CTO C&P Enterprises http://www.candp-ent.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]