Help for this page

Select Code to Download


  1. or download this
    # disclaimer - assume use strict and warnings are both in effect, and 
    # variables are lexically named elsewhere..  this is a toss off bit o'
    + code
    ...
        }
      
      }
    
  2. or download this
    my $x = <STDIN>;
    chomp $x;
    $x = uc($x);
    my $regex = join('[^A-Z]*', split //, $x);