[Pdx-pm] Simplistic, yet complicated question....

Michael P plumpy at krimedawg.org
Mon Dec 9 12:59:18 CST 2002


On Mon, 9 Dec 2002, aj wrote:

> Does this make better sense?

Yeah.

s/  .*$// will do everything you so-rightly want.

e.g.:
while(my $line = <>) {
  $line =~ s/  .*$//;
  print $line, "\n";
}



More information about the Pdx-pm-list mailing list