Variable declarations
BONGIORNO,PAUL (HP-Australia,ex2)
paul.bongiorno at hp.com
Thu Jan 30 17:06:12 CST 2003
Someone asked me at work if you could declare multiple variables and
initialise them in one line for example
My $a, $b, $c = 0;
I realise I could do something similar like
My ($a, $b, $c) = (0, 0, 0);
After hearing Daimien I just didn't believe there was not a way it could be
done - weather or not is should be is probably another question.
Thanks,
Paul
More information about the Melbourne-pm
mailing list