Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of jjore (6662)

Tuesday February 13, 2007
03:25 PM

Interesting values of undef in Perl 5

[ #32392 ]

For laughs I wrote a bit of code to turn defined() into a multimethod. If you use the ordinary builtin on an object which has a defined() method then the result of the method is used instead.

It isn't on CPAN because I don't know a good name for it yet. I want to do the same thing to the ref() builtin. Here's a link to download it. It's not permanent so don't expect to find it there months from now.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.