user-pic

parumoo

Subscribe to feed Recent Actions from parumoo

  • 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.

Subscribe to feed Responses to Comments from parumoo

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.