On Tue, 21 Jan 2003 14:17:19 +0000, Paul Kraus wrote:

> Can you define a list with my?
> 
> I tried 
>  my ($var1, $var2) = 'something','something else';
> I have also tried
>  my ($var1, $var2 = 'something','something else');

Of course, but it like with mathematics.
If at the left side of a = is a list then there must be also a list at the
right side.

Try:

my ($var1, $var2) = ('something', 'something else');


Greetings,
Janek

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

Reply via email to