Perl: the Markov chain saw | |
PerlMonks |
Re^2: Perl Best Practicesby WillC (Initiate) |
on Jan 30, 2012 at 12:28 UTC ( [id://950761]=note: print w/replies, xml ) | Need Help?? |
my $x = ( 1, 2, 3 );
my ($y) = ( 1, 2, 3 );
say $x;
say $y;
... gives different results for the two styles if more than one thing is passed. So I'd stick with my ($x) = ...
In Section
Book Reviews
|
|