user-pic

Peter Edwards

Subscribe to feed Recent Actions from Peter Edwards

  • Erez Schatz commented on The Future of Perl 5

    I gave it much thought before, mostly when I wondered why did so much effort was given to something like "postfix dereferencing" that is nothing more than syntactic sugar (or, to my taste, syntactic salt) rather than a proper object system, Class::MOP or otherwise.

    In other words, since the perl5porters is a small, focused team of volunteers …

  • Duncan White commented on The Future of Perl 5

    Hi Ovid, your LRU example is indeed lovely syntax, I'd certainly use it - and I'm not a Moose user, I like the original bless-based Perl 5 object system. For my own amusement, I wrote a bless-based version. It's shorter than your original Moose version, although of course I had to write a new function which Moose does for you.

    But is anyone likely to implement "class" syntax in Perl 5 anytime soon? If not, it's just a pipe dream, isn't it?

    Finally, I note that the "method" syntax is already available in Perl 5 via either Method::Signatures or (my preference) Function::Para…

  • Toby Inkster commented on Exploring Type::Tiny Part 1: Using Type::Params for Validating Function Parameters

    Oops, yeah.

  • davebaker commented on Exploring Type::Tiny Part 1: Using Type::Params for Validating Function Parameters

    Another tiny typo in several of the examples:

    use Type::Params qw(compile named);

    should be

    use Type::Params qw(compile_named);

    THANKS for this great article!

  • Toby Inkster commented on Exploring Type::Tiny Part 1: Using Type::Params for Validating Function Parameters

    There is actually an underscore in all the examples. The combination of the font and line height makes the underscore invisible though. If you copy and paste the examples, you'll see it's there.

Subscribe to feed Responses to Comments from Peter Edwards

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.