|
|
| P is for Practical | |
| PerlMonks |
Re: changing the position of an element in an arrayby jbrugger (Parson) |
| on Nov 17, 2005 at 01:55 UTC ( [id://509313]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||