-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 21 Jun 1999 12:14:00 -0400, Chaim Frenkel wrote: >I'd agree with you if the _pattern_ were more complex >than fixed strings. The generic problem (changing $pat to $s1 the first time, and to $s2 afterwards) is the same if $pat is a regular expression, so the solutions offered do still work. >Hmm, Since the replacement text must be unique in the document >after replacement, Why? That's not a precondition of the stated problem. /L/e/k/t/u -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.0.2i iQA/AwUBN280vv4C0a0jUw5YEQJirgCcDRxxgfVeLJ24pGrAl5d8fY4WiI8AnA+T IPVMkbqK4XVQTLrZ4A0w1ZGt =r677 -----END PGP SIGNATURE----- ==== Want to unsubscribe from Fun With Perl? ==== Well, if you insist... Send mail with body "unsubscribe" to ==== fwp-request@technofile.org