Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    modify_args($one, $two);
    
    print "$one $two\n";
    
  2. or download this
    sub modify_args1 {
      my ($argref1, $argref2) = \(@_[0..$#_]);
      $$argref1 = 'new value';
    }