Think about Loose Coupling | |
PerlMonks |
Re: direct data to a socketby jonadab (Parson) |
on Oct 22, 2014 at 10:43 UTC ( [id://1104668]=note: print w/replies, xml ) | Need Help?? |
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...
In Section
Seekers of Perl Wisdom
|
|