Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Removing elemets from an array

by linuxer (Curate)
on Dec 30, 2012 at 17:58 UTC ( [id://1010949]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! /usr/bin/perl -l                                                   
    +        
    use strict;                                                           
    +        
    ...
    print "outside before calling foo(): @array";                         
    +        
    foo();                                                                
    +        
    print "outside after calling foo(): @array";
    
  2. or download this
    outside before calling foo(): 1 2 3 4 5
      inside before modification: 1 2 3 4 5
      inside after modification: a b c d e
    outside after calling foo(): a b c d e
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-03-29 12:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found