in reply to my $x or my ($x)
AFAIK the list context just allows you to declare a whole bunch of vars in one go - e.g.
my $foo; my $bar;
and
my ($foo, $bar);
are the same.
Tom Melly, tom@tomandlu.co.uk
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: my $x or my ($x)
by jhourcle (Prior) on Apr 04, 2006 at 12:15 UTC | |
by ptum (Priest) on Apr 04, 2006 at 13:39 UTC | |
by eff_i_g (Curate) on Apr 04, 2006 at 15:35 UTC | |
by Rhandom (Curate) on Apr 05, 2006 at 15:06 UTC | |
by benizi (Hermit) on Apr 25, 2006 at 15:45 UTC |
In Section
Seekers of Perl Wisdom