user-pic

Tom Wyant

  • About: Fine Perl code for over 0.005 centuries.
  • Commented on search.cpan.org
    MetaCPAN has a lot of advantages, but there is one thing about search.cpan.org which I will miss: the fact that development releases were (so to speak) first-class objects. The author's page showed the latest release regardless of whether it was...
  • Posted Stupid <code>less (1)</code> trick to Tom Wyant

    Do you get tired of reading a man page, or even
    POSIX regex engine instead of something more powerful and Perl-like? I
    know I do. Every time I type

  • Commented on The Problem With Perl Testing
    Very thoughtful. And guilty as charged. The thing that puzzles me is how to reorganize. Tests are code. As code, they can have bugs. More than once I have done a small enhancement and had writing and debugging the test...
  • Posted Announcing Perl::Critic::Policy::ControlStructures::ProhibitForeachHandle to Tom Wyant

    A couple days ago I uploaded a Perl-Critic policy to find and complain about things like foreach ( <FOO> ) {...}. The problem (or at least potential problem) with this is that it sucks the entire file into memory before performing the first iteration. Which…

  • Commented on Comment Submission Error
    I hope the Preview button won't be disabled on the original submission page. It's a lifesaver if your submission has markup in it. Disabling either 'Preview' or 'Submit' or both on the preview page may make a great deal of...
  • Commented on A convention for Changes files
    Vim users may find the following useful: :inoremap <F1> <C-R>=strftime("%Y-%m-%d")<CR> If you're in insert or replace mode, this inserts the current date in the proper format at the cursor when the user hits the <F1> key. In normal mode, :nnoremap...
  • Commented on My Love/Hate Relationship with CPAN Testers
    I love CPAN testers unreservedly, and am puzzled by the OP's apparent belief that he, or at least his failing modules, are stigmatized by test failures. I certainly have never felt this way. It almost makes me wonder of the...
  • Commented on Announcing Perl::Critic::Policy::Variables::ProhibitUnusedVarsStricter
    Mithaldu: Thanks for the correction. I could have sworn I went looking for warnings::unused and could not find it, but you can't argue with a working URL. "My mind is going, Dave. I can feel it. I can feel it....
  • Posted Announcing Perl::Critic::Policy::Variables::ProhibitUnusedVarsStricter to Tom Wyant

    The subject Perl-Critic policy is an alternate implementation of the core policy Variables::ProhibitUnusedVariables. My implementation attempts to do a more thorough job of finding unused variables.

    The…

  • Commented on Don't release experiments to CPAN
    Thank you for the clarification. I have no particular confidence that I could apply your distinction between an experimental module and an experimental implementation to an arbitrary module -- which is not to find fault with you. The fault (if...
  • Commented on Don't release experiments to CPAN
    Why not simply ask people to submit experimental modules under development version numbers? This seems to me (after a grand total of maybe five minutes' thought) to have two advantages over the original proposal: The modules get tested by CPANTESTERS...
  • Commented on Astro::SpaceTrack upgrade
    The Heavens Above web site has a plot of the altitude of the International Space Station over time that you could duplicate. One of my first correspondents was plotting some orbital parameter (ascending node?) of a cluster of Russian navigation...
  • Commented on Astro::SpaceTrack upgrade
    Correction In preparing the threatened release, I discovered that I had pending changes. So: 0.071 will come out today with these changes. 0.072 will come out tomorrow (February 17). It is 0.072 whose only change will be the default value...
  • Posted Astro::SpaceTrack upgrade to Tom Wyant

    For some time now, the Space Track web site, which is the official source for satellite orbital elements, has been working on an upgrade to a REST interface. This interface is scheduled to go live on February 20.

    My module Astro::SpaceTrack retrieves orbital data from the Space Track web s…

  • Commented on A Question of Location
    Wonderful! A piece of deduction worthy of the character in whose mouth you have placed it. I await the next with bated breath....
  • Commented on The Case of the Unexpected Pax
    Have at it. I look forward to your entry. These "cases" were originally going to use a certain late-Victorian London detective, but I was wondering about ownership of the name. But maybe I didn't need to worry. It seems he's...
  • Posted The Case of the Unexpected Pax to Tom Wyant

    It was late afternoon of a chill November in Paris. I was walking along the quai, lost in a brown study. Looking up, I saw my friend C. Auguste Dupin approaching me.

    "Ah, bon soir, mon ami," said Dupin, "and what brings you beside the Seine on this crisp evening?"

    "S…

  • Commented on Writing version of dependencies
    I've been back and forth on this. Currently I specify whatever I use. That is to say if I use Foo; I specify dependency Foo => 0. If I use Foo 1.2; I specify Foo => 1.2. The use of...
  • Commented on RFC Module::Build::CleanInstall
    Module::Build::Cookbook documents command option --uninst 1. It also appears that Module::Build->new( uninst => 1, ... ) has the effect of defaulting the command option to 1, though I can’t find where this is documented. However, I can’t make it actually...
  • Commented on Proc::ProcessTable needs a C lover
    The Linux patch I apply is https://rt.cpan.org/Public/Bug/Display.html?id=41397 -- there are others, but I seem to get along without them. Under OpenBSD, I apply https://rt.cpan.org/Public/Bug/Display.html?id=77094 Perhaps more interestingly, a respondent to that ticket expressed the intent to refactor the module. And...
  • Commented on How many ways can I use thee, module?
    use Module::Load; load MODULE; use if CONDITION, MODULE => ARGUMENTS...
  • Commented on Finding Unused Subroutines, but with PPI
    There's always perlcritic --single UnusedPrivateSubroutines, if its assumptions are what you want. If not, this policy might be a good starting point to roll your own. The policy uses a Perl::Critic::Document rather than a PPI::Document, but the former is easily...
  • Commented on The Case of the Incompatible Safe -- Epilog
    Well, then thanks to Paul Johnson and thanks to Rafaël for pointing out where the credit was due. Who gets credit for what is not always obvious to outsiders -- or at least, not to me. I noticed a note...
  • Posted The Case of the Incompatible Safe -- Epilog to Tom Wyant

    "You know," I said to my friend C. Auguste Dupin, "I can not help feeling that there must be a simpler solution for M. Tueur's problem of the Incompatible Safe".

    "But there is, mon ami…

  • Commented on On defined(@array) and defined(%hash)
    If the test suite does anything at all, it will let both authors and users know when there is a problem. This is, by the way, an argument for running tests. When I find such problems I file a bug...
  • Posted Stupid <code>ack</code> trick to Tom Wyant

    My source directories tend to collect cruft, and it can be a pain to separate the real ack hits from the crufty ones. I am ashamed to say how long it took me to think of the following:

    function ackx {

  • Commented on More module versioning pain
    My first thought is that there ought to be a test for this. My second thought was that if the version module was involved, they are actually the same version number, appearances to the contrary notwithstanding. And sure enough, Mail::SPF...
  • Commented on The Case of the Incompatible Safe
    Thank you for the suggestion. The internals seem to be fairly heavy wizardry, but the public interface seems to call for something like opmask_add( invert_opset( opset( @ops ) ) ); eval $code Doing this, I find: For normal use, @ops...
  • Commented on Call of the callback: Inversion of Control or just coolness?
    Hey - you had me at the Jack London title. "Perl of the Frozen North?" "Sergeant Perlston of the Yukon and his Wonder Dog Yukon King (arf! arf!)"? The mind boggles....
  • Commented on The Case of the Incompatible Safe
    Thanks. I'm not sure how long I can keep it up, though. What has happened for the last couple is that I have run into a problem, solved it (sort of) and written it up. But not everything I run...
Subscribe to feed Recent Actions from Tom Wyant

  • Ron Savage commented on search.cpan.org

    Hi BooK

    I'd say kobesearch.cpan.org lost major support when Randy Kobes died:

    http://perlbuzz.com/2010/11/passing-of-randy-kobes.html

    Perhaps someone has taken over the work.

  • Ben Bullock commented on search.cpan.org

    I like search.cpan.org because it's much faster than metacpan.org. Also some modules don't show up on metacpan.org, and it's often necessary to do "shift-reload" on metacpan.org to re-synch the pages.

  • Duncan commented on search.cpan.org

    I think we're in danger of being insular here.

    People inside the echo chamber know about Metacpan and either use it in preference to search.cpan.org or switch to it if, as is often the case at the moment, search.cpan.org is down.

    People outside the echo chamber are less aware of Metacpan. If search.cpan.org is down, they just take it as more evidence that Perl is d**ng.

  • Olivier Mengué (dolmen) commented on search.cpan.org

    A few reasons why I'm a MetaCPAN promoter:

  • search.cpan.org still has the look of 1997 web sites. Just this can let people think that Perl is stuck there.
  • you can submit issues about MetaCPAN, they are public, and you get feedback. For s.c.o, you have to send an e-mail and I never got an answer. Anyway, I have abandonned a long time ago the usage of my e-mail inbox to track issue progress.
  • issues reported are quickly fixed
  • you can even directly report issues on IRC (#metacpan) and get immediate feedback and fixes
  • you can submit patches for Meta…
  • Gabriel Sharp commented on Don't release experiments to CPAN

    If you want this, first make the guys writing books about perl not tell new developers to submit their code to CPAN; I've read 2 such books. I am sure there are more books out there saying the same thing.

    I am also unclear on your reasoning for the problem. Is it: 1) because you don't like how long the module list is with the extra entries? 2) The submissions of Acme:: and related modules are …

    Subscribe to feed Responses to Comments from Tom Wyant

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