Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    $s1 =~ s/.*/t/;
    $s2 =~ s/(?{print pos(), qq!\n!}).*/t/g;
    print "$s1\n$s2\n";
    
  2. or download this
    0
    3
    3
    t
    tt