Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

What's going on in array element assignment?

by zapdos (Sexton)
on Aug 11, 2020 at 02:09 UTC ( [id://11120582]=perlquestion: 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; # forget all rocks after 'lava'
    $#rocks = 99; # add 97 undef elements (the forgotten rocks are gone fo
    +rever)
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2024-04-22 10:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found