Hi! Please consider following me on twitter: @hanekomu.

YAPC::NA afterglow

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.

Tags: , .

Write a comment | Bookmark and Share

posted at: 20:51 | path: /misc | permalink | 0 comments | 0 trackbacks

Comments are closed for this story.

Trackbacks are closed for this story.