Help for this page

Select Code to Download


  1. or download this
    sub trim {
       for (my $s = $_[0]) {  # passed param assigned, not used
          s/^\s+//;           # substitutions on $_
          ...