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

Re: Deleteing array elements

by si_lence (Deacon)
on Jul 23, 2009 at 07:19 UTC ( [id://782586]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @arr = @arr[0,1,3];
    
  2. or download this
    @arr = grep { $_ !~ /c/ } @arr;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-03-29 09:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found