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

  • Mithaldu commented on Introducing MooseX::Extended

    That didn't quite seem to answer what i asked. Specifically "param/field prevents poor software" is not a concrete gained feature that i can understand as is. I've also reached out to mst to see if he can maybe explain the question better.

    Regarding rw/ro/bare ... that part i do agree with and in fact, already wrote a solution to that covers both Moo and Moose (being that Moo auto-upgrades to Moose if loaded): https://metacpan.org/pod/Mu

    (In fact, between the features provided by Moo, and what Mu adds on top, i'm not even sure what si…

  • Matthew Persico commented on Casting Perls before Splines

    What were you drinking when you wrote this...


    and can I have some? :-)

  • Saif commented on Casting Perls before Splines

    Great to see two greats of the Perl world appreciating my distorted perspectives. If only Mrs Saif would...

  • Felix Ostmann commented on Enforcing Simple Standards with One Module

    OK, i have some problems with the feature->unimport.

    To keep everything complicated here is the setup:

    • enabled feature 'try' if perl 5.34 via boilerplate
    • old script using Try::Tiny (reason to disable try-feature in scope/file)
    • old script may run under 5.32 or 5.34

    I can't get something working for both perl versions.

    use strict;
    use warnings;
    no warnings 'experimental';
    
    # copied from boilerplate module
    BEGIN {
        if ($] >= 5.034) {
            require feature;
            feature->import('try');
        }
    }
    
    # copied from script
    use Try…
  • Felix Ostmann commented on Enforcing Simple Standards with One Module

    OK, to add some juice:

    BEGIN {
        feature->unimport('try') if $] >= 5.034;
    }
    

    do the trick (so disable 'try' for the complete file i guess?!)

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 with a graphic design donated by Six Apart, Ltd.