Help for this page

Select Code to Download


  1. or download this
    @array1 = 0..9;
    *array2 = *array1;
    ...
    
    pop @array2;
    print "@array1\n"
    
  2. or download this
    sub foo {
        my ($ref) = @_;
    ...
    }
    
    foo([ 0 .. 9 ]);