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.
  • If I want the numbers 1 through $x, and x might be zero or less (in which case I would want an empty list), then I'd rather not have to say if ($x >= 1) ..., I can just say (1..$x). I think it was felt that that was the more common case than wanting the reverse list.
    • Indeed. The current behaviour is sometimes annoying, but never surprising. The alternative would be sometimes convenient, but often surprising.