Help for this page

Select Code to Download


  1. or download this
            my $t0 = Benchmark->new;
            # build TOC
    ...
            my $t1 = Benchmark->new;
            my $td = timediff($t1, $t0);
            print "the code took:",timestr($td),"\n";
    
  2. or download this
            my $t0 = Benchmark->new;
            # build TOC
    ...
            my $t1 = Benchmark->new;
            my $td = timediff($t1, $t0);
            print "the code took:",timestr($td),"\n";
    
  3. or download this
            foreach my $h (split(/\n/, $page)) {
                if (substr($h,0,3) eq '== ' 
    ...
                    push(@toc, $file."\t".$h);
                }
            }