Help for this page

Select Code to Download


  1. or download this
    sub moritz {
      my ($s1, $s2) = @_;
    ...
    
    moritz(\$s1,\$s2);
    print $s1 ne 'AxCz' && 'not ','ok';
    
  2. or download this
    sub moritz {
      my ($s1, $s2) = @_;
    ...
        substr( $$s1, $pos, 1 ) = substr( $$s2, $pos, 1 );
      }
    }