Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 ( #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
Node Status?
node history
Node Type: note [id://719217]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (12)
As of 2016-09-29 12:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (552 votes). Check out past polls.