Help for this page

Select Code to Download


  1. or download this
    if ($line =~ /^\s{0,3}(\w+)(\d+)(\w+)\s+((\w+))/)  {
       # $1-$3 used by something else here
    ...
       }
       print "$string\n";
    }
    
  2. or download this
    if (my ($word1, $number, $word2, $string) =
          $line =~ /^\s{0,3}(\w+)(\d+)(\w+)\s+((\w+))/) {
    ...
       $string =~ s/(.{60})/$1\n/g;
       print "$string\n";
    }