Or anything like that. Actually, I think the syntax is ok. I'm sure local() can do this, so why can't my? Just try to accomplish something else with this construct, I'm sure it'll work.
--------------
Bob Erinkveld (Webmaster Insane Hosts)
www.insane-hosts.net
MSN: [EMAIL PROTECTED]
From: "Mariusz" <[EMAIL PROTECTED]>
To: "perl" <[EMAIL PROTECTED]>
Subject: declaring variables
Date: Thu, 12 Dec 2002 20:47:15 -0600
In one of my scripts I have lots of variables to declare. I wanted to type them in groups instead of one long line but I think dividing my lines trough the use of the ENTER key stops the script from working. (Although when I check the syntax through "perl - c script.cgi" it gives me OK).
Basically instead of this:
my( $varaible1, $variable2, $variableA, $varaibleB);
I wanted to type this:
my( $varaible1, $variable2,
$variableA, $varaibleB
);
Any reason why it shouldn't work?
Thanks,
Mariusz
_________________________________________________________________
Ontvang je Hotmail & Messenger berichten op je mobiele telefoon met Hotmail SMS http://www.msn.nl/jumppage/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]