Front page | perl.fwp |
Postings from February 2005
Re: "Secret" operators
Thread Previous
|
Thread Next
From:
Bernie Cosell
Date:
February 1, 2005 10:20
Subject:
Re: "Secret" operators
Message ID:
200502011820.j11IKPAo013533@mail.rev.net
On 1 Feb 2005 at 12:36, Ronald J Kimball wrote:
> ... A list assignment in scalar context
> returns the number of elements on the right-hand side of the assignment.
Which is an odd inconsistency, because in list context a list assignment
returns the left-hand-side-list, so you might guess that in scalar
context it'd return the number of elements in the lhs list...
/Bernie\
--
Bernie Cosell Fantasy Farm Fibers
mailto:bernie@fantasyfarm.com Pearisburg, VA
--> Too many people, too few sheep <--
Thread Previous
|
Thread Next