in reply to Re^2: variable declaration question
in thread variable declaration question
Try:
print(my $foo = ('a', 'b', 'c'), "\n");
vs:
my @foo = ('a', 'b', 'c'); my $bar = @foo; print $bar, "\n";
I like using letters vs numbers to avoid confusion...
print(my $foo = ('a', 'b', 'c'), "\n");
vs:
my @foo = ('a', 'b', 'c'); my $bar = @foo; print $bar, "\n";
I like using letters vs numbers to avoid confusion...
In Section
Seekers of Perl Wisdom