Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: changing the position of an element in an array

by jbrugger (Parson)
on Nov 17, 2005 at 06:55 UTC ( [id://509313]=note: print w/replies, xml ) Need Help??


in reply to changing the position of an element in an array

Trying yourself is allways good :)
hint: Use grep to find your element, splice to delete it, then push it on the array.
Ps. Also use the Super Search, all of your 3 sub-questions have been answered here many times, and there are many ways to do it.

"We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.
  • Comment on Re: changing the position of an element in an array

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-26 07:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found