user-pic

Ovid

  • Website: www.allaroundtheworld.fr/
  • About: Freelance Perl/Testing/Agile consultant and trainer. See http://www.allaroundtheworld.fr/ for our services. If you have a problem with Perl, we will solve it for you. And don't forget to buy my book! http://www.amazon.com/Beginning-Perl-Curtis-Poe/dp/1118013840/
Subscribe to feed Recent Actions from Ovid

  • Peter Edwards commented on The Future of Perl 5

    +1 to OO classes and optional type checking in core. It would save time, effort and errors, and give more standardised, readable code (while still letting you TIMTOWTDI)

  • 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 Which edges cases could perl shed to make it easier to parse?

    I use map EXPR, LIST pretty often because it runs faster than map { BLOCK } LIST.

  • Luca Ferrari commented on Atomic Updates with DBIx::Class

    Seems to me you have not "resolved" the lock problem, you have just postponed it to the database itself. If you are issuing two concurrent updates on the same row, the database will use a lock (or MVCC or alike) to solve the conflicts, so depending on your transaction isolation level and the way your database manages such situations, you could end up with locked process too.

Subscribe to feed Responses to Comments from Ovid

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is hosted by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.