Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: How to remove the certain element of an object

by vagabonding electron (Chaplain)
on Feb 04, 2013 at 16:23 UTC ( #1016969=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    return @{$_[0]} if $idx == -1;
    
  2. or download this
    sub purge_this_one
    {
    ...
        splice( @$aref, $idx, 1 );
        return @$aref;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1016969]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2017-07-26 21:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (402 votes). Check out past polls.