in reply to Parsing web pages (sort of)

Neat.
What do you mean by your matches run together? Is it the lack of a \n?
Thanks.

Replies are listed 'Best First'.
RE: Re: Parsing web pages (sort of)
by lhoward (Vicar) on May 25, 2000 at 19:42 UTC
    that is exactly what I mean... without a \n or other separater the output is harder to read because it runs together.
      Well, sorry :-) I thought the lack of \n was kinda obvious.
      So if thats the case, I'd say your "$1\n" really should be $1,"\n" on the grounds of efficiency. 25% faster. D'oh, I must admit your solution is better than mine. :-)
        Obviously my solution is superior ;-)

        That's one of the nice things about perl.... so many ways to code everything and so many little tweaks you can do to improve performance.