Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    # test.pl --
    ...
        splice(@a,1,0,$val);
        $_[$_] = $a[$_] for (0..@a);
    }
    
  2. or download this
    C:>test
    one
    ...
    one
    add_test
    two
    
  3. or download this
    sub setmode {
        my($val,$ref) = @_;
        splice(@$ref,1,0,$val);
    }