Help for this page

Select Code to Download


  1. or download this
    use strict;
    my $word = shift @ARGV || "SPACE";
    ...
        $word = $t . $word;
        print $word, "\n";
    }
    
  2. or download this
    $temp = chop($word) . $temp, print "$temp$word\n" while $word;
    
    # $temp and $word should, of course, be initialized.