Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: LWP socket connection

by Eliya (Vicar)
on May 30, 2012 at 14:52 UTC ( #973306=note: print w/ replies, xml ) Need Help??


in reply to LWP socket connection

using LWP is faster and cleaner than using sockets

If with "faster" you mean "less time required to write the code", then presumably yes, because LWP provides a higher level programming interface than plain sockets, so you need to write less code to achieve the same effect.

OTOH, if "faster" means "runs faster", it wouldn't make much sense, as LWP uses sockets under the hood...  so you could (in theory) always write low-level socket code that runs at least as fast.


Comment on Re: LWP socket connection

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2015-07-07 09:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (88 votes), past polls