|
|
| P is for Practical | |
| PerlMonks |
Re: Perl Idioms Explained - my $count = () = /.../gby santonegro (Scribe) |
| on Feb 05, 2006 at 15:31 UTC ( [id://528095]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
a list assignment in scalar context returns the number of elements on the right-hand side of the list assignmentI don't agree with that. An array assignment does this. A list assignment returns the last element. To wit:
In Section
Meditations
|
|
||||||||||||||||||||||||||||||