Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: direct data to a socket

by jonadab (Parson)
on Oct 22, 2014 at 10:43 UTC ( #1104668=note: print w/replies, xml ) Need Help??


in reply to Re^3: direct data to a socket
in thread direct data to a socket

Wow, that's icky. I understand why overloading exists, and needs to exist. Things like being able to subtract two DateTime objects and get a DateTime::duration object are the stuff of which consistent, intuitive behavior are made. But overloading what is normally a comparison operator to do something completely semantically unrelated to comparison doesn't make me smile. If it were in the ACME:: namespace, that would be one thing...

Replies are listed 'Best First'.
Re^2: direct data to a socket
by choroba (Archbishop) on Oct 22, 2014 at 12:03 UTC
    In C++, a similar situation exists even in the standard: operator>>.
    لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
      Well, yes, but unlike C++, Perl is a language I personally use and mostly like.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2019-12-08 23:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?