Getopt::Long , handles the number zero differently..

2004-12-21 Thread Mike Donnelly
Using the example code below, I find that I can use getopt handily to pass all sorts of variables to my script, as long as a value passed is not a 0 (zero) How to I use getopt::long and be able to pass the number zero as a value? Code, and behavior follows

Re: Getopt::Long , handles the number zero differently..

2004-12-21 Thread Mike Donnelly
--- [EMAIL PROTECTED] wrote: > > > - Original Message - > From: Mike Donnelly <[EMAIL PROTECTED]> > Date: Tuesday, December 21, 2004 10:58 am > Subject: Getopt::Long , handles the number zero > differently.. > > Hello > > > > > &

Getopt::Long , handles the number zero differently..

2004-12-21 Thread Mike Donnelly
Using the example code below, I find that I can use getopt handily to pass all sorts of variables to my script, as long as a value passed is not a 0 (zero) How to I use getopt::long and be able to pass the number zero as a value? Code, and behavior follows