Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: What's going on in array element assignment?

by zapdos (Sexton)
on Aug 11, 2020 at 02:53 UTC ( [id://11120588]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $rocks[0] = 'bedrock';
    $rocks[1] = 'slate';
    $rocks[2]= 'lava';
    ...
    $#rocks = 2; 
    $#rocks = 99; 
    print $rocks[$#rocks];
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-23 01:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found