parumoo
Recent Actions
-
Commented on Announcing MooX::Pression
It's very slow to start up for me. Is this just startup time and not a runtime issue? Also, including use utf8; causes a lot of Malformed UTF-8 warnings. Super excited to use this though! Looks so awesome....
-
Commented on A Perl 6 API for <holidayapi.com>
This is great! But it leaves me wanting more......
-
Commented on Exploring Type::Tiny Part 7: Creating a Type Library with Type::Library
This allows UserId to inherit ArrayRef's automatic ability to coerce one level deep. Could you explain what this means?...
Comment Threads
-
Toby Inkster commented on
Exploring Type::Tiny Part 7: Creating a Type Library with Type::Library
Okay, so imagine there's a coercion from Int to User like this:
If you define an attribute like this:
has manager => (is => "ro", isa => User, coerce => 1);
Then you can pass an integer as the manager, and it will automatically be converted to a User object. Now imagine an attribute defined like this:
has staff => (is => "ro", isa => ArrayRef[User], coerce => 1);
A feature of Type::Tiny which isn't found in the standard Moose type constraint system is that this will automatically …
-
byterock commented on
A Perl 6 API for <holidayapi.com>
Best vaporware I have seen since Xenix.
Will use it every day from now on.
-
BWVA commented on
A Perl 6 API for <holidayapi.com>
Hats off to the P6 devs for enabling this high degree of optimization!
-
Toby Inkster commented on
Announcing MooX::Pression
It uses Keyword::Declare for parsing which in turn uses PPR. PPR has some enormous regular expressions to parse Perl code, and those take a while to load and compile. Once the parse stage is over though, it should be pretty quick.
MooX::Pression is just a wrapper around the much faster MooX::Press though. If you do
use MooX::Pression debug => 1
, you can see what MooX::Pression is passing to MooX::Press.
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.