Help for this page

Select Code to Download


  1. or download this
    Benchmark:
    timing 10 iterations of
    ...
    2000, 2000, 2000
    
    c:\test>
    
  2. or download this
    #! perl -slw
    use strict;
    ...
    print 'splits differ' if "@splits" ne "@regexs" and "@regexs" eq "@sca
    +ns";
    print 'regexs differ' if "@splits" ne "@regexs" and "@splits" eq "@sca
    +ns";
    print 'scans  differ' if "@scans"  ne "@regexs" and "@splits" eq "@reg
    +exs";