Help for this page

Select Code to Download


  1. or download this
    my $str = "thisisatest";
    while ($str =~ /(.)(.)/g) {
        print "$`$2$1$'\n";
        pos($str)--;
    }