Help for this page

Select Code to Download


  1. or download this
    Example 1: leading ";" means this is a list of
      letters instead of a pattern
    ...
    sole
    weld
    wold
    
  2. or download this
    use strict;
    use warnings;
    ...
    my $string = '\abCD';
    $string =~ tr/\[A-Z]/[a-z]/; #should be tr/A-Z/a-z/?
    print "$string\n";