user-pic

Peter Martini

  • Website: twitter.com/PeterCMartini
  • About: I like thinking about machines, especially virtual machines like Perl's VM, the Java VM, and kvm/qemu
Subscribe to feed Recent Actions from Peter Martini

  • Olivier Mengué (dolmen) commented on Prototypes and the call checker

    The link to ex5 is broken.

  • Olivier Mengué (dolmen) commented on Prototypes and the call checker

    Another typo in §2: "takes affect" => "takes effect"

  • Buddy Burden commented on Prototypes and the call checker

    It sounds like you're on the cusp of achieving what I've been trying to do for years with Debuggit. As mascip mentions, Debuggit properly advertises that you can achieve this via:

    debuggit("foo is", $foo) if DEBUG >= 2;

    but that's just using standard constant folding. What I really want is for this:

    debuggit(2 => "foo is", $foo);

    to likewise get expunged during the compilation phase. But I haven't seen any way to do it outside source filtering/Devel::Declare magic/new keyword API, none of which seemed worth the hassle. But …

  • Randal L. Schwartz commented on Spelunking: why 'while(){ }' is my new favorite perl-ism

    Well, they're real git commits, for sure. But they are cloned from all the things that preceded git for Perl's version control by an immense effort to accurate capture as much of Perl history as was now possible.

  • MeirG commented on \r, \n, and ... \R ?

    As in Audrey Tang's PerlIO::eol, I would suggest that instead of always substituting \R with \n, why not allow the user to specify to which platform to substitute: Like Audrey's, allow LF/CR/LFCR/NATIVE (or Unix/Mac/Windows/Native). Default would be LF(Unix) to be backward compatible.

Subscribe to feed Responses to Comments from Peter Martini

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.