Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use warnings;
    ...
                 substr => q( Substr 'def', 'abc' ),
                 subst  => q( subst  'def', 'abc' ),
               });
    
  2. or download this
    ok 1 - correct concat
    ok 2 - same substr
    ...
    subst  1770916/s     --   -38%   -47%
    precat 2860656/s    62%     --   -15%
    substr 3350927/s    89%    17%     --
    
  3. or download this
    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord
    }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,