I stumbled across a bug in my own code I figured I'd share...  Actually,
I'm wondering if there is a way to do this....

I was using the following code :

my ($var1, $var2) = 0;

The intent was to initialize the variables to 0.  However, as I found
out a few minutes ago, this only initializes the first variable in the
list to 0 and leaves the others as undefined...

Is there an easy way to do this?  I know I can do them this way :

my ($var1, $var2) = (0,0);
or
my $var1 = 0;
my $var2 = 0;

But I was looking for something similar to what I was doing...

Oh well, you live, you learn...  :-)

---------------------------
Jason H. Frisvold
Senior ATM Engineer
Engineering Dept.
Penteledata
CCNA Certified - CSCO10151622
[EMAIL PROTECTED]
---------------------------
"I love deadlines.  I especially like the whooshing sound they make as
they go flying by." -- Douglas Adams [1952-2001]


Reply via email to