Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    for ($cond) {
        my $j=1;
    }
    
  2. or download this
    my $cond = 1;
    foreach $_ ($cond) {
    ...
    foreach $_ ($cond) {
        my $j = 1;
    }
    
  3. or download this
    #comments added on update
    #print "$i/n";      # Works for input code, not output code
    #print "$j/n";      # Fails for both