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