Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Parsing web pages (sort of)

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


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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (None)
    As of 2024-04-25 00:47 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found