Help for this page

Select Code to Download


  1. or download this
    $string = "H e l l o  P e r l p r i n t";
    print $string for $string =~ s/\b[ ]//g; 
    ...
    
    UPDATE:added non-capturing square brackets to account for more efficie
    +ncy after
     Anomalous Monk's enlightenment...
    
  2. or download this
    Hello PerlprintHelloPerlprint