user-pic

Randy Stauner

  • Commented on Let's delete 10,000 files from CPAN
    I delete occasionally but just bumped off 118 more....
  • Commented on Welcome to my Perl blog.
    This sounds a lot like my current situation... makes me feel less alone :-) I'm completely rewriting a 7-year old project (still running on 5.8.3) into something using 5.14.2, Moose, and AnyEvent-based daemons instead of periodic cron scripts. I have...
  • Commented on Shebangs with perlbrew aliases and EUMM (and without local::lib)
    Thanks for commenting, Pedro! The automatic 'current' symlink was removed: https://github.com/gugod/App-perlbrew/issues/142 but aliases were created afterward to serve that purpose. See also https://github.com/gugod/App-perlbrew/issues/70 and https://github.com/gugod/App-perlbrew/issues/85...
  • Posted Shebangs with perlbrew aliases and EUMM (and without local::lib) to Randy Stauner

    I wanted to comment on but my blabbering grew so long I chose to make a separate post instead.

    shebangs

    I used to use the #!/usr/bin/env p…

  • Commented on MetaCPAN Undergoes "Unplanned Re-index"
    Is there a list of issues somewhere sorted or grouped by priority (maybe the same as github issues, maybe not)?...
  • Commented on Acme::CPANAuthors::India
    The dzil module template is at ~/.dzil/profiles/*/Module.pm...
  • Posted Maintenance on Text::VimColor by Geoff Richards (GEOFFR) to Randy Stauner

    I'm interested in maintaining Text::VimColor authored by Geoff Richards (GEOFFR).

    Does anybody know Geoff?

    He hasn't uploaded to CPAN since 2006.

    I emailed him a few months ago (using 3 different addresses from his

  • Commented on Exciting updates to MetaCPAN
    Oh, it downloads it because the link is to "api.metcpan.org" so that makes sense... Then trying to log in again does indeed log me in. So it works... but could use a little polish....
  • Commented on Exciting updates to MetaCPAN
    I've tried the PAUSE login twice: first time (uppercase) I never got the email second time (lowercase) the link I followed downloaded a json file to my computer (i think instead of actually logging me in)....
  • Commented on Exciting updates to MetaCPAN
    I agree, response time seems faster. Glad to hear it (I used to be concerned that it seemed a bit slow), plus a very good endorsement for not reinventing the wheel!...
  • Commented on Indexing MooseX::Declare modules
    My previous comment is probably more influenced by the goofiness of common::sense (mentioned in David Cantrell's post) than by MooseX::Declare (of which I am not familiar)... I am not against new syntaxes or new ways of doing things, but if...
  • Commented on Indexing MooseX::Declare modules
    This appears to be somewhat of a hot topic here including your recent posts (and their comments) plus this one by David Cantrell: https://blogs.perl.org/users/david_cantrell/2011/07/cpxxxan-update.html My uneducated opinion is that the Indexer shouldn't have to work that hard. The onus should...
  • Commented on cpXXXan update
    Module::Metadata also does not parse/index this module. Personally, I don't have a problem with that... I think common::sense seems anything but, and I cannot believe that there isn't a better, much more sane way to make that (simple) dist. It's...
  • Commented on iCPAN is (almost) on the iPad
    I, too, have wondered about a mobile cpan site... search.cpan.org isn't terrible since the site itself is fairly simple (and the browser (at least Dolphin) wraps the text well enough), but often verbatim blocks require scrolling (not to mention any...
  • Posted cpan client tries to install non-existent version to Randy Stauner

    Ran into an issue today and wanted to share in case anybody else hits the problem.

    Using the good-old cpan client I found myself unable to install a module. It took me a while to track down the problem...

    I had CPAN::SQLite…

  • Commented on Perl bug? Weird combination of do, local, and something else?
    This perl bug has been fixed. See follow-up post....
  • Posted Weird perl bug fixed [7c2d9d0] to Randy Stauner

    My previous post about a weird do-block bug I stumbled upon has been fixed as of 7c2d9d0,…

  • Commented on releasing to [remote] minicpan (preferably with Dist::Zilla)
    I submitted my pull request to Mithaldu which automatically discovers all included packages from within the module API (instead of from the mcpani script), which makes it available to everything else (like ::Server and ::Remote). https://github.com/wchristian/CPAN--Mini--Inject/pull/2...
  • Commented on releasing to [remote] minicpan (preferably with Dist::Zilla)
    Yes, this is indeed a current limitation (which was discussed in this post and its comments: https://blogs.perl.org/users/brian_d_foy/2011/06/the-difference-between-distros-modules-and-programs-and-how-that-affects-indexing.html). I have a pull-request almost ready for CPAN::Mini::Inject to do this multi-module indexing by default through the module API (which of course then...
  • Posted Perl bug? Weird combination of do, local, and something else? to Randy Stauner

    UPDATE: This perl bug has been fixed

    I was writing some very simple unit tests last night and was baffled when one didn't work. The code was very simple, something I thought I…

  • Commented on Does do-given work right?
    I toyed with it a bit... Haven't found anything helpful, but did discover something interesting: The same thing happens with local... if you declare our $quux in main and change: - when( 'quux' ) { my $quux = 'quux!' }...
  • Commented on Exploratory one-liners with less typing
    oops... markdown doesn't seem to be supported in comments......
  • Commented on Exploratory one-liners with less typing
    I considered a function to test args much like you suggested but just haven't decided yet. I was most happy about the Class::Autouse and the D sub with the prototype. The -E is still fairly natural to me (unlike the...
  • Commented on Exploratory one-liners with less typing
    Thanks, utf8::all is probably a good one for this, though the -C flag performs a similar function for one-liners. Thanks....
  • Posted Exploratory one-liners with less typing to Randy Stauner

    Here's one for the "stupid shell tricks" category:

    I made myself a shell alias today to simplify the times when i want a quick view of how something works in perl:

    alias perl1='perl -MData::Dumper -MYAML::Any -MClass::Autouse=:superloader -E "sub D(\$){ …
  • Commented on The difference between distros, modules, and programs; and how that affects indexing
    Dist::Metadata uploaded and arriving soon at a mirror near you... CPAN::Mini::Inject pull request to follow......
  • Commented on The difference between distros, modules, and programs; and how that affects indexing
    I have been working on Dist::Metadata to augment CPAN::Mini::Inject so that it could index more by default. After a recent change in structure my tests are passing again. Perhaps I should release it so people can start using it. I...
  • Commented on releasing to [remote] minicpan (preferably with Dist::Zilla)
    Awesome! Thanks! I was a little surprised to discover that in github I couldn't report the issue on your repo... The only time I saw the "Issues" button was when looking at Andy's repo... I guess you can't put Issues...
  • Posted releasing to [remote] minicpan (preferably with Dist::Zilla) to Randy Stauner

    Traditionally at $work we do a git clone of our various repos and run the projects straight from the working directory, but lately I've been moving towards the good habit of packaging small related components into their own dists ("I…

  • Posted one-liner for separating iCal events by category to Randy Stauner

    Attempting to move a friend from Outlook to Google Calendar,

    I wanted to create separate Calendars for each event category.

    I searched cpan for modules to read the file and found iCal::Parser, Text::vFile, and Text::vFile::asData.

    I…

Subscribe to feed Recent Actions from Randy Stauner

  • szabgab.com commented on MetaCPAN Undergoes "Unplanned Re-index"

    I got quite upset about this when I first read but I can understand that stuff might happen. Especially to people who do things.

    With that said I think it is very important to make sure people feel confident that data they enter will not be lost again. Neither by accident nor due to planned upgrade.

    The reason for this is that you want people to engage with the system either by coding or at least by clicking on +1s. I am now a lot less enthusiastic about adding my +1s again as I don't like to do the same thing twice. Eventually I'll do this but it would be much easier if I ha…

  • Aristotle commented on MetaCPAN Undergoes "Unplanned Re-index"

    Not really, Ron.

    You will simply fail to get off the ground if you insist on dotting all your Is and crossing all your Ts too early. I have the tendency to do too much of that and it’s not helpful, believe me.

    It won’t work if you work shoddily, of course, but with finite resources you have to take calculated risks and accept growing pains to move fast and grow fast. If you take the right risks, you will gain the resources to take care of omissions soon; play it safe and it will take a very long time to get anywhere.

    That’s the same tightrope walk that makes sta…

  • Shantanu Bhadoria commented on Acme::CPANAuthors::India

    Yeah you are right, I should have linked to the module. Sorry about that. Here you go :

    http://search.cpan.org/~shantanu/Acme-CPANAuthors-India-0.05/lib/Acme/CPANAuthors/India.pm

  • Mike B commented on Shebangs with perlbrew aliases and EUMM (and without local::lib)

    So this is what I think would be the solution: If you author CPAN modules, any scripts in those modules should have a shebang that points to /usr/bin/perl.

    If you're not writing stuff for CPAN but for your own use, choose /usr/bin/env perl instead.

    And if you write for $Client, use his standards :D

  • Naveed Massjouni commented on Exploratory one-liners with less typing

    Marc Fontani created a gist based on this, adding some more features https://gist.github.com/1042504. I forked his gist and made https://gist.github.com/1240122. Thanks for posting this cool idea. I had fun hacking on it.

Subscribe to feed Responses to Comments from Randy Stauner

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.