You can do that, but if you're planning on assigning the variables any value
other than (), then you will want to put the array LAST.  Otherwise I don't
know if Perl will let the array suck up all of the values you try to assign.
This way you can be sure that your scalars receive a value.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 19, 2002 10:29 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Is it legal ???


In a message dated 8/19/2002 3:25:35 PM US Eastern Standard Time, 
[EMAIL PROTECTED] writes:


> Hi all, I am trying to declare some variables and was wondering what the 
> best way to do this was. Is it legal to do something like this:
> my (@pairs, $ENV, $buffer);
> The reason I ask is that I am not sure if its cool to have Arrays and 
> Scalar 
> vars within the same brackets.
> Thanks for your help
> 
> Anadi
> 

No, I'm sorry but doing something of that nature is punishable by 10 years
in 
prison and/or $20,000 in fines.


Dra'Kon [King of bored out of his mind wise "butt" remarks]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to