#comments added on update #print "$i/n"; # Works for input code, not output code #print "$j/n"; # Fails for both