Help for this page

Select Code to Download


  1. or download this
    sub mychop(\$) {  chop ${shift()} }
    
    ...
       my $c = mychop $thing;
       print " $thing,$c\n";
    }
    
  2. or download this
    foo ->  foo,o
    bar ->  bar,r
    baz ->  baz,z