Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Re: Re: Re: Re: walking an array and unshifting

by dsheroh (Monsignor)
on Jun 09, 2002 at 14:30 UTC ( [id://172912]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: walking an array and unshifting
in thread walking an array and unshifting

Now that you've explained what you want to do...

Take a look at splice. shift and pop remove values from the ends of an array, not the current position.

  • Comment on Re: Re: Re: Re: Re: walking an array and unshifting

Log In?
Username:
Password:

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

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

    No recent polls found