Help for this page

Select Code to Download


  1. or download this
    sub function1
    {
    my $var = defined $_[0] ? shift : 'No argument';
    print "$var\n";
    }
    
  2. or download this
    my $var = $hash1{$name} || $hash2{$name} || $some_default_value;