RE: variable initialization

2002-05-30 Thread Jason Frisvold
is limited. Imagination encircles the world." -- Albert Einstein [1879-1955] -Original Message- From: John W. Krahn [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 6:54 PM To: [EMAIL PROTECTED] Subject: Re: variable initialization Jason Frisvold wrote: > > I stumbled a

RE: variable initialization

2002-05-30 Thread Jason Frisvold
on is more important than knowledge. Knowledge is limited. Imagination encircles the world." -- Albert Einstein [1879-1955] -Original Message- From: Jeff 'japhy' Pinyan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 6:28 PM To: Jason Frisvold Cc: begin begin Subject: Re

Re: variable initialization

2002-05-29 Thread John W. Krahn
Jason Frisvold wrote: > > 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

Re: variable initialization

2002-05-29 Thread Jeff 'japhy' Pinyan
On May 29, Jason Frisvold said: >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 c