RE: [Perl-unix-users] Multiline substitution
Okay, I spoke too soon... I didn't notice the change from the usual /'s to |''s. Matt ___ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
RE: [Perl-unix-users] Multiline substitution
> while () { > $_ =~ s|()|$1 name="features"/> name="features"/>|smg; > print $_; > } Try it with backslashes in front of the slashes. while () { $_ =~ s|()|$1<\/value>|smg;