user-pic

Grinnz

  • About: I blog about Perl.
  • Commented on Installing sets of modules
    The biggest problem is that its main feature, that a specific version of it is bundled with the distribution to install it, means that it is impossible to update all of the bundled versions to cope with new installation requirements,...
  • Posted Dist::Zilla Starter revision 3 - Git, versioning, and more to Grinnz

    I've just released revision 3 of the @Starter plugin bundle for the Dist::Zilla CPAN distribution authoring tool. There's no changes to the base configuration from revision 2, but there are now additional options to help…

  • Commented on Installing sets of modules
    You may find mbtiny to your liking. Like many other authoring tools that have come around post-Module::Install, it relies on simply specifying dependencies in a cpanfile (which allows much the same format as Module::Install that you're used to), and has...
  • Posted perldoc.pl now powered by Elasticsearch to Grinnz

    perldoc.pl, the alternative perldoc browser, originally leveraged PostgreSQL full text…

  • Commented on perldoc.pl - A new way to perldoc
    Some updates: Significant improvements to mobile/small browser view, with an expandable navigation menu in those form factors (requires javascript) Entering special variables in search now brings you to a page for that variable...
  • Posted perldoc.pl - A new way to perldoc to Grinnz

    For the past decade or more, perldoc.perl.org has been a useful and convenient resource for viewing perl documentation online. However, it has suffered from lack of maintenance and mounting unfixed…

  • Commented on PrePan
    Another avenue you might try is IRC. #perl on Freenode or #perl-help on irc.perl.org are active and can help with any number of queries regarding the applicability, naming, or design of your modules, and #toolchain on irc.perl.org can help with...
  • Posted A Guide to Versions in Perl to Grinnz

    Version numbers in Perl are very important; they allow orderly updating and maintenance of modules and distributions across the CPAN, and allow CPAN modules and consumers to require the versions of modules with the bugfixes or features they need. However, in…

  • Commented on Stupid Testing Trick: Inconstant Constants
    Though on second thought Foo::MAGIC may get compiled out due to being a constant, before the 'around' takes effect if it wasn't done in BEGIN{}....
  • Commented on Stupid Testing Trick: Inconstant Constants
    imported*. And you don't need to call them as methods, just accessing Foo::MAGIC should work regardless of importing....
  • Commented on Stupid Testing Trick: Inconstant Constants
    You'd need to do the 'around's in a BEGIN{} block for them to take effect before the constants are important from Foo in the 'use' line....
  • Commented on Stupid Testing Trick: Inconstant Constants
    If you don't want to deal with the ugly redefine warnings yourself, you can use Class::Method::Modifiers to wrap an existing function to return something different: use Foo (); use Class::Method::Modifiers; around 'Foo::PLATFORM' => sub () { 9.75 }; around 'Foo::MAGIC'...
  • Posted Encode::Simple - Encode and decode text, simply to Grinnz

    Encode is a well known core module in Perl with support for encoding and decoding text from almost any character encoding you can think of. But it's also an old module with a large amount of historical cruft.

    With inspiration from #perl on freenode IRC, ="https://metacpan.org/pod/En…

  • Commented on Dist::Zilla Check License
    Please do not follow the methods in these blog posts of using Dist::Zilla, they are drawn out, incomplete, and in places counterproductive. Instead I would suggest starting with bundles like Dist::Zilla::PluginBundle::Starter or Dist::Milla, and if you need help, plenty of...
  • Commented on Testing FIDO/U2F Two Factor Authentication
    You can edit posts. Click "Post" on the top bar to go to your dashboard, hope that your session works correctly, probably log in again, and there you can see your entries for editing....
  • Commented on Why I recommend using the "++" system of Metacpan
    @Ben: I agree it's nice to leave feedback for modules you use. But are you referring to the ++ system on metacpan or the stars from cpanratings (a separate site)? ++ is certainly a simpler way to show your appreciation/usage....
  • Commented on Why I recommend using the "++" system of Metacpan
    No; modules can be downloaded from any of hundreds of CPAN mirrors so they all could individually track downloads but nobody would have the full picture. The best you could do is track downloads at https://cpan.metacpan.org as that's a commonly...
  • Commented on I want my, I want my Kwa-li-tee
    All good suggestions. As a note [MinimumPerl] isn't strictly necessary, it will attempt to autodetect the minimum version of perl required, but if you want to explicitly declare a minimum version that you support, you can add a runtime prerequisite...
  • Commented on Inline::F2003 - An ILSM for modern FORTRAN
    As long as the word Fortran appears in the abstract (the part of the NAME section after the module name and hyphen), it should be easily searchable on metacpan. Regardless, it doesn't appear that this distribution is on CPAN currently....
  • Commented on What Time is Midnight?
    Correct, leap seconds do not affect the unix epoch time, as they're ignored or skipped for that purpose. Time zone offset changes are another matter, since they're applied "on top" of the epoch time. So the simplest method is to...
  • Commented on Perl 5 Porters Mailing List Summary: October 16th - Nov 1st
    That proposal would not generally change how functions like substr and length work. It would change how string literals in source code are interpreted, which would cause breakage. But the important part of the proposal there is: "To get there,...
  • Commented on What Time is Midnight?
    A particularly tricky one because it's a case where the timezone *offset* changes depending what time of day it is. So only a module like DateTime with a complete timezone implementation can make it "just work": my $date = DateTime->new(year...
  • Commented on Check compression in web page
    I think it would be neat if this module used HTTP::Tiny instead of LWP. HTTP::Tiny is core on perl 5.14+ and it doesn't really look like it uses any LWP-specific features (like hooks or HTTP::Message objects)....
  • Commented on The Hot New Language Named Rakudo
    I appreciated the effort on the part of mst to push the idea to rename Perl 5 as a compromise we have more control over. But do we really? Perl 5 has over 20 years of mindshare in the programming...
  • Commented on Because CPAN Needs More Templating Modules
    Sadly I think BPO ate some significant parts of your template in the comment....
  • Commented on Trials and troubles with changing @INC
    You can use lib.pm for that: no lib '.'; or PERL5OPT=-M-lib=....
  • Commented on How fast can you try?
    Ah, makes more sense now. Thanks...
  • Posted Autoload::AUTOCAN - Autoloading the easy way to Grinnz

    Autoload can be a very powerful tool in Perl, though often you should first consider if there's a better way; Autoload is not necessarily the best solution for cases where you just need to generate many methods by name, and definitely is…

  • Commented on How fast can you try?
    Also interesting that you found Try::Catch to be slower than Try::Tiny, given its purpose is to be faster....
  • Commented on Dist::Zilla @Starter - Revision 2
    The great thing about Dist::Zilla is we have all of these options to serve any preference. One other note, [ReadmeAnyFromPod] with location = root automatically excludes the generated file from the build. Though it doesn't hurt to exclude it manually...
Subscribe to feed Recent Actions from Grinnz

  • Tom Wyant commented on Stupid Testing Trick: Inconstant Constants

    Enclosing the around() call in a BEGIN block does get me the correct values out. Unfortunately Class::Method::Modifiers does not preserve the prototype of the subroutine, so I get "Prototype mismatch" warnings, and the value is not inlined.

    The prototype errors arise from the final eval in install_modifier(), and would have to be silenced there. What is really needed for this application is for Class::Method::Modifiers to preserve the proto…

  • Buddy Burden commented on Why I recommend using the "++" system of Metacpan

    Well said. I've gone and ++'ed all the modules I regularly install on every new Perl installation I create. Thanks for the reminder.

  • preaction commented on PrePan

    If you haven't heard back about adopting the module, the next step is to CC the PAUSE admins: https://www.cpan.org/misc/cpan-faq.html#How_adopt_module

    Giving feedback on PrePAN is difficult: Feedback on building good CPAN-style distributions is automated in CPANTS (https://cpants.cpanauthors.org/) and PAUSE itself will not index dists it can't understand. The value PrePAN adds is in design feedback and solutioneering. This kind of feedback requires people have domain knowledge or to have used other solutions.

  • aseric commented on The Hot New Language Named Rakudo

    There is no doubt the "Wall" in front of Perl 5 should be removed so it can proceed.

    My two points:

    1) For Perl
    Remember Java 1.5 was marketed as Java 5 and it was easier to proceed from there on.
    Similary Perl 6 can be skipped for Perl.

    Perl has been in Perl 5 for very long time. The next major version should be released as Perl 7 which will give a fresh beginning and surely every perl programmer will leap in joy. (Perl 6 can be skipped similar to Java which skipped 3 and 4)

    Language Name: …

  • Yuki Kimoto commented on Installing sets of modules

    Do you know the problem of Module::Install?

Subscribe to feed Responses to Comments from Grinnz

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.