user-pic

Grinnz

  • About: I blog about Perl.
  • Commented on Adding a ROADMAP section to the POD
    You're free to add whatever POD sections you want beyond the standard ones NAME, SYNOPSIS, DESCRIPTION, and some form of COPYRIGHT/LICENSE. The best way to "propose" how to use a section like that is to lead by example and show...
  • Commented on JSON::Transform - transform JSON-able data structures without code
    If you are just looking for retrieval, try JSON::Pointer or Mojo::JSON::Pointer....
  • Commented on Speedup Travis by tweaking your Dist::Zilla config
    Agreed with Graham, and I have made great use of CopyFilesFromRelease + Regenerate::AfterReleasers to have files regenerated at release time (for consistency's sake, and these get automatically committed in the release commit) as well as when I run dzil regenerate...
  • Commented on File::Slurp new version
    genio's current efforts are mostly to fix the obvious bugs and problems with the module's packaging and testing, and fix it for Perl 5.30 which will make sysread on :utf8 handles fatal. For new users, the only real fix is...
  • Commented on Unicode::Properties slated for removal
    While removal is probably fine in this case (and I see that you've already done so), another option is simply to deprecate it and then put the namespace up for adoption. This has the benefit of allowing it to be...
  • 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....
Subscribe to feed Recent Actions from Grinnz

  • 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?

  • Karl Williamson commented on Unicode::Properties slated for removal

    The features offered by this module are now all offered by Unicode::UCD which ships with the perl 5 core.

    Unicode::UCD::charprops_all() returns all the Unicode properties for its code point argument

    prop_invlist() can be used to get a list of code points matching a binary property.

    And UnicodeVersion() returns the version of the Unicode release being used.

  • Ben Bullock commented on Unicode::Properties slated for removal

    Thanks for your very useful comment which will be a good reference for the unlucky person who used Unicode::Properties and now needs to replace it.

    Not only do much better versions now exist, but the values returned from Unicode::Properties are extracted from Perl circa 2008. I don't think there was any justification at all for keeping that module around.

    Sayonara Unicode::Properties.

    If someone wants the namespace for another module they are welcome to it, please email me at bkb@cpan.org or benkasminbullock@gmail.com.

  • Mike T commented on JSON::Transform - transform JSON-able data structures without code

    How do you compose transformations (i.e. chain together various different transformations)?

    I actually had a good use-case for JSON transformations recently which might serve as a useful example: take the feed from here and turn it into just an array of {date, close} objects, like this:

    [
      {
        "date": "2018-10-26",
        "close": "106.9600"
      },
      {
        "date": "2018-10-25",
        "close": "108.3000"
      },
      ...
    ]
    

    I managed to do this using ="https…

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.