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.