P/PW/PWBENNETT
- Website: plus.google.com/u/0/110360907592575381901/about
- About: I blog about Perl, and Marpa. I'm the author of Net::IPAddress::Util and I'm writing the SWIG interface to libmarpa, and will be using that to create the Python bindings.
Recent Actions
-
Commented on Introducing Type::Tiny
All my +1s. This is awesome. Thanks for sharing!...
-
Commented on I Bless You in the Name of the Stringified Object
In fact, it's not even worth a trip to the RT. It looks like it's this simple... 49a50 > use Scalar::Util qw( blessed ); 199a201 > $class = blessed($class) || $class; 1594a1597,1601 > > if ( "$dur" =~ /([+-]?(?:\d+\.)?\d+(?:e[+-]?(?:\d+\.)?\d+)?)/i) {...
-
Commented on I Bless You in the Name of the Stringified Object
One other thing (on the subject of overloading in DateTime) that I've found useful at $work is to be able to overload addition and subtraction to work with seconds as well as ::Duration objects. No idea whether that's actually been...
Comment Threads
-
Leon Timmermans commented on
I Bless You in the Name of the Stringified Object
I'm wondering if a "::" overload makes sense, specially if a future version of perl would allow for blessing into an anonymous stash.
About blogs.perl.org
blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.