Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Given When Syntax

by LanX (Bishop)
on Mar 15, 2014 at 15:54 UTC ( #1078454=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      DB<103> @num=qw/Zero One Two Three Four/
     => ("Zero", "One", "Two", "Three", "Four")
    ...
      DB<104> $var=2; print "$var is $num[$var]";
     => 1
    2 is Two
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1078454]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2018-08-19 17:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:









    Results (186 votes). Check out past polls.

    Notices?