XP is just a number | |
PerlMonks |
Re: search and replace is not working as expected...by pg (Canon) |
on Nov 20, 2002 at 15:54 UTC ( [id://214501]=note: print w/replies, xml ) | Need Help?? |
your (.*) should be (.*?), otherwise it will include <\/doct>, which is not what you expected. ? simply make the s/// more lazy.
In Section
Seekers of Perl Wisdom
|
|