Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Context tutorial

by shmem (Chancellor)
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?
[karlgoethebier]: Good morning
[Discipulus]: good morning vietnam!
[Discipulus]: but there is some perl workshop somewhere? I notice many high level monks disappeared.. we can make PM a squat in the meantime ;=)
[karlgoethebier]: Discipulus: Mmh, who disappeared?
[marto]: morning all
[shmem]: perl -lE '$_="odd mornin";($o=$_)=~ s/^|$/g/g;say$o'

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2017-06-27 08:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (600 votes). Check out past polls.