user-pic

Timm Murray

  • About: I blog about Perl.
Subscribe to feed Recent Actions from Timm Murray

  • Ether commented on On the version number succeeding Perl 5

    “Breaking” backcompat in the sense of disabling certain syntax by default but still allowing it to be used if options are set: fantastic! To no indirect I’d add no bareword::filehandles and no multidimensional.

    Wait, isn’t that what use strictures does, which is used by Moo? hmmmm… :)

  • Toby Inkster commented on On the version number succeeding Perl 5

    strictures.pm also enables fatal warnings. There are some warnings I’d never want to be switched on by default, let alone fatal by default.

    (I’m thinking mostly of uninitialized, void and once, but also to an extent numeric.)

  • tommolesworth.myopenid.com commented on SQLite and Writes

    Useful information, thanks for that.

    Is there any particular reason for the manual error checks on each step rather than setting the RaiseError flag? (this modified version of 02_busy.t seems to indicate that it throws an error as expected, on first read of your post I thought you were talking about an "invisible" data loss situation)

    Also, switching to mysql (or other DBs) won't help much here, there's still the chance of deadlocks - see ="http://stackoverflow.com/questions/2596005/working-around-mysql-error-deadlock-found…

  • cbt commented on SQLite and Writes

    This is why, when I have an app that uses sqlite, I jump through hoops to avoid opening it more than once. I put blocking 'flock' calls in the 'open' method of my database class. And I have it print a big fat warning message if it blocked. If I have a brain fart and try to open more than once, I get a loud early warning. Before I've caused any failed database updates.

  • Ether commented on On the version number succeeding Perl 5

    I can see not wanting some warnings to be fatal, but it’s so rare to need to disable certain warnings entirely (e.g. numeric) that I’d be firmly on the side of keeping them enabled.

    Another change one could make in such a release is to do all the things tchrist lists as needed for full unicode and utf8 compliance: http://stackoverflow.com/a/6163129/40468

Subscribe to feed Responses to Comments from Timm Murray

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 run by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.