[Pdx-pm] Musings on operator overloading (was: File-Fu overloading)

chromatic chromatic at wgz.org
Sun Feb 24 13:29:14 PST 2008


On Sunday 24 February 2008 12:56:40 Eric Wilhelm wrote:

> Well, they are like strings for anything that doesn't understand them as
> path objects.  If you're passing them to code that wants a string but
> croaks if ref($str), the bug is in that code.

See also just about everything written in Perl from 1994 through at least 
2005.

For all that people complain about how non-typeful Perl 5 is, there's a lot of 
code that tries to enforce memory-layout-based-typing at runtime.

-- c


More information about the Pdx-pm-list mailing list