Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    @lines = map {scalar reverse} @lines;
    print "\nUsing default file I/O\n";
    print "$_\n" for @lines;
    
  2. or download this
    Using utf8
    321ö
    ...
    321¶Ã
    654¥Ã
    987¥Ã