Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Context tutorial

by shmem (Canon)
on Jan 25, 2009 at 14:20 UTC ( #738776=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print my $x = ( 'a', 'b', 'c' );         # c
    print my @x = () = ( 'a', 'b', 'c' );    # nothing
    ...
    print scalar ( 'a', 'b', 'c' );          # c
    print +() = ( 'a', 'b', 'c' );           # nothing
    print scalar ( () = ( 'a', 'b', 'c' ) ); # 3
    
  2. or download this
    sub bar {
        local $\;
    ...
    foo:scalar - bar:scalar - e
    foo:list - bar:list - 
    foo:list - bar:list - 5
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2016-10-01 22:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (9 votes). Check out past polls.