Re: "Secret" operators

"Bernie Cosell" <[email protected]>
Newsgroups gmane.comp.lang.perl.fun
Organization Fantasy Farm Fibers
Message-ID <[email protected]>
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:[email protected]     Pearisburg, VA
    -->  Too many people, too few sheep  <--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.