user-pic

Michael J

  • About: I blog about Perl.
  • Commented on Great Mystic Mystery Revealed
    Just a minor typo: your PrePAN link points to PAUSE and not http://prepan.org/...
  • Commented on Variable Names
    new programmers possibly also tend to avoid long variable names because they end up writing them more often than more experienced coders (who will use Perl-isms like 'my $var = fn() or return;' rather than three separate lines for 'my...
  • Commented on Directory size calculator
    are you able to install CPAN modules? (if not, then that's a big drawback to learning Perl) searching for 'dir size' finds https://metacpan.org/module/Win32::DirSize which sounds like it might already do this for you...?...
  • Commented on Moose and Fatal Type Constraints
    don't you mean George Orwell there, not Aldous Huxley, or is that some reference I'm missing?...
  • Commented on use strict;
    There's also a good case for leaving warnings on in production, and ensuring that log files/cron STDERR emails are kept tidy by either fixing code or explicitly ignoring unavoidable warnings from sections of code or noisy modules (PDF::API2 being our...
  • Commented on Deploying Perl code with git, local::lib, Minicpan and cpanminus
    Thanks! yes, the system has been working very well for us. Something that I should have mentioned is regarding updating MiniCPAN - I had to delete the CPAN Index files each time before the update, otherwise they were not picked...
  • Commented on Deploying Perl code with git, local::lib, Minicpan and cpanminus
    This was a while ago now (last summer), and I'm not sure we looked at Git::Repository, but I do recall git's STDOUT/STDERR mess being a bit of an issue - depending on the command, we sometimes need to parse STDOUT...
  • Posted Deploying Perl code with git, local::lib, Minicpan and cpanminus to Michael J

    At $work we're nearing the end of a long upgrade process, that's included moving from Debian etch to lenny, from svk to git, from Perl 5.8 to 5.10, from Apache 1.3 to Apache 2 (and then to Plack), and moving to recent versions of DBIC and…

  • Commented on WTF Perl Books
    BetaScript publishing (they also use the name 'AlphaScript') are also publishing Wikipedia content in book form. more info in the comments here: http://www.chrisrand.com/blog/index.php/2010/02/27/odd-tale-alphascript-publishing-betascript-publishing/...
  • Commented on DateTime and Excel difference
    I guess it wasn't that simple - keeping 29/02/1900 after importing a Lotus 123 file would make sense, but what about a worksheet created in Excel (with the correct leap year formula) and then exported - would any affected date...
  • Commented on DateTime and Excel difference
    The 1900 leap year bug originates from Lotus 123, which either deliberately (to simplify the calculation in limited RAM days) or unintentionally had it wrong. Excel then replicated this in order to import Lotus worksheets......
  • Commented on The Definitive Guide to Catalyst book
    Seeing as this book gets recommended everywhere else, I thought I'd offer a contrary opinion - as an existing user of Catalyst, DBIx::Class, etc, I didn't think very much of the book. It's ok (and obviously the authors know what...
  • Commented on 4 days at Eth0 Summer 2010
    Any thoughts on how younger programmers get some of these opinions though? I can understand people who maybe used Perl 10 years ago or were starting out with PHP then having these views, but I'd have thought that younger programmers...
  • Commented on Syntax highlighting comment keywords in TextMate (TODO, FIXME, etc)
    Thanks, I'd forgotten about that, although have used it a few times in the past. In this though case I just wanted to make them stand out a bit more in comments when actually working on a file, rather than...
  • Posted Syntax highlighting comment keywords in TextMate (TODO, FIXME, etc) to Michael J

    mst's State of the Velociraptor talk at YAPC::EU inspired me to start a blog here, although this first post has nothing to do with Perl...

    After reading Chisel's post on highlighting useful words like TODO in Vim

Subscribe to feed Recent Actions from Michael J

  • byterock commented on Great Mystic Mystery Revealed

    Ok I fixed that

  • byterock commented on Great Mystic Mystery Revealed

    Dist::Zilla don't know about it adding it?

    This little thing has been around long before Dist::Zilla was a just a gleam in its author's eyes, I have seen it in code going way back to the last century.

    Not sure no_index (YML) or MetaNoIndex (INI) will do what you expect as the spec says;

    ... mapping that describes any files, directories, packages, and namespaces that are private (i.e. implementation artifacts) that are not of interest to searching and indexing tools. ...

    In this case the db, dr and st are packages that are inside the Oracle.pm file something m…

  • Paul "LeoNerd" Evans commented on Great Mystic Mystery Revealed

    It was originally a quick, a limit of the parser used to pull out the package names. But so many people have now relied on it, that it's become a feature that won't be fixed.

  • Brad Gilbert commented on Great Mystic Mystery Revealed

    As Paul "LeoNerd" Evens stated:

    It was originally a quick (hack), a limit of the parser used to pull out the package names. But so many people have now relied on it, that it's become a feature that won't be fixed.

    Which is why Dist::Zilla copied that feature to determine what to put in the provides section of the META files automatically.

    The [MetaNoIndex] section of dist.ini that I gave earlier just tells Dist::Zilla to remove those elements from the META files.

    Some of the other statements possible in …

  • Ether commented on Great Mystic Mystery Revealed

    Dist::Zilla does not create a 'provides' section in META.yml/META.json. There is a plugin do so, but it is not on by default. [MetaNoIndex] does not adjust the 'provides' metadata, but rather *adds* metadata in the form of the 'no_index' key, which PAUSE reads and uses to adjust its calculated list of what modules will enter the index.

    https://metacpan.org/pod/CPAN::Meta::Spec#no_index
    https://metacpan.org/pod/Dist::Zilla::Plugin::Meta…

Subscribe to feed Responses to Comments from Michael J

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.