Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: If you believe in Lists in Scalar Context, Clap your Hands

by gone2015 (Deacon)
on Oct 24, 2008 at 01:43 UTC ( [id://719217]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      my $r1 = ( print_context(), print_context() );
      # Void
    ...
      my $r2 = sub { ( print_context(), print_context() ) }->();
      # Scalar
      # Scalar
    
  2. or download this
    $r = () = 1..27 ;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2024-04-16 23:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found