Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    while (<>) {
      chomp;
      print( ( $. % 2 ? $_ : scalar reverse $_ ), "\n" );
    }