Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: How do I completely remove an element from an array?

by Monkomatic (Sexton)
on Oct 27, 2010 at 23:47 UTC ( [id://867868]=note: print w/replies, xml ) Need Help??


in reply to How do I completely remove an element from an array?

You can use delete, as in:
delete $ARRAY[$index];
but note the warning:
Calling delete on array values is deprecated and likely to be removed in a future version of Perl.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-04-24 06:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found