Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Pop/shift/delete on array

by revdiablo (Prior)
on Jul 14, 2005 at 16:39 UTC ( #474954=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -MData::Dumper -le '
        @array = (1 .. 3);
    ...
        print Dumper \@array;
        delete $array[2];
        print Dumper \@array;'
    
  2. or download this
    $VAR1 = [
              1,
    ...
    $VAR1 = [
              1
            ];
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2019-12-10 01:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?