Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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 (Cardinal) 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?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2022-12-01 06:56 GMT
Find Nodes?
    Voting Booth?