Help for this page

Select Code to Download


  1. or download this
        my( $foo, $bar ) = @_;
    
  2. or download this
        my $foo = shift;
        my $bar = shift;
    
  3. or download this
    sub x {
      $_[0] =~ s/foo/bar/;
      $_[0];
    }
    print x('food'), "\n"; # does not work