Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: Confused as to why the "casting context" is mis-behaving

by tinita (Parson)
on Oct 20, 2010 at 13:38 UTC ( #866325=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Confused as to why the "casting context" is mis-behaving
in thread Confused as to why the "casting context" is mis-behaving

from perlop:

Comma Operator
Binary "," is the comma operator. In scalar context it evaluates its left argument, throws that value away, then evaluates its right argument and returns that value. This is just like Cís comma operator.

In list context, itís just the list argument separator, and inserts both its arguments into the list. These arguments are also evaluated from left to right.


Comment on Re^3: Confused as to why the "casting context" is mis-behaving

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://866325]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2014-11-22 10:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (121 votes), past polls