in reply to Perl command line search and replace

Given the vagaries of html, the consensus of Monks seems to be that it's generally a bad idea to try to edit html with regex; you're better off using one of the CPAN modules.

I would also suggest that a formal Perl program, vs a one-liner, as it's likely that somewhere along the way somebody will say "you know that program you've got fixing this html...well, it also needs to do this..."


emc

Information about American English usage here and here.

Any Northeastern US area jobs? I'm currently unemployed.

  • Comment on Re: Perl command line search and replace