Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
my $p1= "iapw_p1"; my $p2= "iapw_p2"; my $p3= "iapw_p3"; my $b1= "iapw_b1"; my $p0= "iapw_p0"; my $c0= "iapw_c0"; my $c1= "iapw_c1"; my $c3= "iapw_c3"; my $h1= "iapw_h1"; my $p1b="<font color=\"navy\" size=\"2\"><b>P1</b></font><font color=\ +"#000000\" size=\"2\"><b><i> = (file inquiry - launch page)</i></b></ +font>"; my $p2b="<font color=\"navy\" size=\"2\"><b>P2</b><font color=\"#00000 +0\" size=\"2\"><b><i> = (file search - replace - operators)</i></b></ +font>"; my $p3b="<font color=\"navy\" size=\"2\"><b>P3</b><font color=\"#00000 +0\" size=\"2\"><b><i> = (file notepad)</i></b></font>"; my $b1b="<font color=\"navy\" size=\"2\"><b>B1</b><font color=\"#00000 +0\" size=\"2\"><b><i> = (file inquiry: old - owners and preowners)</i +></b></font>"; my $p0b="<font color=\"navy\" size=\"2\"><b>P0</b><font color=\"#00000 +0\" size=\"2\"><b><i> = (file search)</i></b></font>"; my $c0b="<font color=\"navy\" size=\"2\"><b>C0</b><font color=\"#00000 +0\"e size=\"2\"><b><i> = (file search)</i></b></font>"; my $c1b="<font color=\"navy\" size=\"2\"><b>C1</b><font color=\"#00000 +0\" size=\"2\"><b><i> = (file inquiry)</i></b></font>"; my $c3b="<font color=\"navy\" size=\"2\"><b>C3</b><font color=\"#00000 +0\" size=\"2\"><b><i> = (file notepad)</i></b></font>"; my $h1b="<font color=\"navy\" size=\"2\"><b>H1</b><font color=\"#00000 +0\" size=\"2\"><b><i> = (file and arch inquiry and history)</i></b></ +font>"; for (@a_data) { s/$p1/$p1b/; s/$p2/$p2b/; s/$p3/$p3b/; s/$b1/$b1b/; s/$p0/$p0b/; s/$c0/$c0b/; s/$c1/$c1b/; s/$c3/$c3b/; s/$h1/$h1b/; }
edited: Wed Aug 14 15:08:05 2002 by jeffa - title change (was: Regular Expression)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regular Expression
by Abigail-II (Bishop) on Aug 13, 2002 at 16:23 UTC | |
by Shendal (Hermit) on Aug 13, 2002 at 16:32 UTC | |
by Anonymous Monk on Aug 13, 2002 at 17:46 UTC | |
by Shendal (Hermit) on Aug 13, 2002 at 17:58 UTC |