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 ]

unimatrix (1124)

  (email not shown publicly)

Journal of unimatrix (1124)

Tuesday June 19, 2001
12:51 PM

YAPC::NA afterglow

[ #315 ]

Revision: Without Damian, it would only have been half a conference, but without Kevin, Luc and Rich, there would have been no conference. Congratulations on organizing it and keeping it running smoothly.

On the flight back I was thinking about Ruby's literals-as-objects and realized that Perl can do this as well. By overloading constants, you can do things like

        print 42->times(3);
        print 'hello world'->reverse;

This could be used for runtime properties:

        return 0->true;

Now we need to override the test for definedness to also check for this property along with the value.