in reply to Intialization

Recently I saw someone try to use the following line to predefine some scalars. He knew there were no var types to define, but didn't quite know what else to do.

$var1,$var2,$var3,$var4;

this is ofcourse quickly fixed by inserting a my, but basically it's pretty useless. Namespaces allocations will happen anyway, when the scalars are refered to for the first time.

my($var1,$var2,$var3,$var4);

Greetz
Beatnik
... Quidquid perl dictum sit, altum viditur.