in reply to Re^5: the '..' operator and decreasing values
in thread the '..' operator and decreasing values

And you guys are reporting this bug to perl5-porters, right?
  • Comment on Re^6: the '..' operator and decreasing values

Replies are listed 'Best First'.
Re^7: the '..' operator and decreasing values
by ysth (Canon) on Mar 06, 2005 at 23:38 UTC
    There's no bug. As of 5.8.6 (or maybe 5.8.5, didn't check that) the reverse is indeed optimized away. However, the .. operator is still evaluated to produce the full list (at compile time). So there's a potential for optimizing that away also, but you can't actually call it a bug.