Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Isn't there a module for this? Your mistake is in writing your own buggy code instead of using somebody's better tested module. :P

    --
    J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
    • I've no idea whether there's a module for this. But I'm pretty sure locating the module, reading the documentation, and convincing myself the module does what I want, and is bugfree would take longer than writing and debugging a few lines myself.
      • Speaking of wheels, this seems an ideal candidate for a POE [cpan.org] session and POE::Wheel::FollowTail.

        • Somehow it feels wrong to install a rather large selection of modules only to shave off a few lines of a less than 100 line stand alone script.
          • ... specially if shaving off a few lines means writing others (probably as much as you've saved), from which at first glance you absolutely won't get what the heck they are about, and what's going on behind the scenes: that's the wrong way of abstraction.
    • Yes, it is called IO::Select, released with perl 5.3.7.