Help for this page

Select Code to Download


  1. or download this
     1    #!perl
     2    # Utility vars
    ...
    15    for my $i (0.. length($foo)-1) {
    16        print "$i ",substr($foo,$i,1),"\n";
    17    }
    
  2. or download this
    syntax error at D:\perl\scratch\errors.pl line 15, near "$i ("
    Execution of D:\perl\scratch\errors.pl aborted due to compilation erro
    +rs.