Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Parsing web pages (sort of)

by perlcgi (Hermit)
on May 25, 2000 at 19:41 UTC ( #14777=note: print w/replies, xml ) Need Help??

in reply to Parsing web pages (sort of)

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

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.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://14777]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2022-12-09 22:12 GMT
Find Nodes?
    Voting Booth?

    No recent polls found