Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    my $foo = 'fUnKy';
    lc_and_chop $foo;
    print "$foo\n";
    
  2. or download this
    - lc_and_chop $foo;
    + my $bar = lc_and_chop $foo;
    
  3. or download this
    sub lc (\$) {
       my $ref = shift;
    ...
       return $val if defined wantarray;
       $$ref = $val;
    }