Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 perusing the Monastery: (10)
As of 2014-10-01 15:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (29 votes), past polls