Slash Boxes
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.
More | Login | Reply
Loading... please wait.
  • Dude, EVERYTHING does it that way, because that, SOMEHOW, became the required way to do things.

    I mentioned at OSCON there was an obviously DOS attack against PAUSE right?

    You just found it.
    • I remember your comments and I remember you wouldn't elaborate, which seemed a reasonable thing to do. The fact that it's still not been fixed is discouraging. Right now, I have some code which finds -- without eval -- the correct version number of about 98% of what I have installed (440 modules), but some of the edge cases it misses are pretty important ones.

      What's worse is that while some failures are due to me learning the rather convoluted evolution of version numbers, some are due to authors being lazy and doing things like this:

      $VERSION = sprintf("%d.%s", map {s/_//g; $_} q$Name: release-0_60-public $ =~ /-(\d+)_([\d_]+)/)

      That might look like a "good" lazy to some folks, but as you pointed out, if anyone ever moves to a different source control system, this could be problematic for them. Heck, even if the author assumes that will never happen, they'll still have problems if they lose their repository (hard disk crashes with no backup or old backups are not unknown).