Help for this page

Select Code to Download


  1. or download this
    my $test = 1;
    print "$test\n";
    ...
    3
    1
    
  2. or download this
    while(my $var = shift @ARGV) {
      print "$var\n"; # var is scoped only in the while loop
    }