Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Removing elemets from an array

by linuxer (Deacon)
on Dec 30, 2012 at 17:58 UTC ( #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
Node Status?
node history
Node Type: note [id://1010949]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2014-10-21 05:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (96 votes), past polls