Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Context tutorial

by shmem (Chancellor)
on Jan 25, 2009 at 14:20 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://738776]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2024-03-28 10:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found