Help for this page

Select Code to Download


  1. or download this
    sh-3.1$ perl benchmark.pl 
              Rate  split1 substr1   subst
    ...
    ok 1
    ok 2
    1..2
    
  2. or download this
    sub subst
    {
    ...
    
        $s3;
    }
    
  3. or download this
    #!/usr/bin/perl
    
    ...
      my $n = (shift) ? int(rand(255)) : int(rand(254)) + 1;
      return chr( $n );
    }