Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I would like it to print in reverse order such as:while (<DATA>) { $_ =~ s/oldpage/newpage/g; print; } exit 0; close(DATA); __DATA__ title oldpage oldpage htm tab aaaaa
aaaaa tab newpage htm newpage title
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(jeffa) Re: Reverse Function
by jeffa (Bishop) on Jun 29, 2002 at 00:52 UTC | |
by screamingeagle (Curate) on Jun 29, 2002 at 03:33 UTC | |
by Kanji (Parson) on Jun 29, 2002 at 09:01 UTC | |
| |
by thunders (Priest) on Jun 29, 2002 at 03:37 UTC |