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.
  • Seems like the solution is to declare that this mechanism is broken for now, and fix it so that it works with the debugger, as well as fix the compiler so that it generates a warning or error when return is called from an lvalued subroutine.

    The tiny little amount of syntactic sugar may indeed be worth it for some people, particularly if the option to fix the bug you're reporting is open.

    --
    J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
  • yes it is broken and I have submitted a patch, probably someone will look into it soon http://rt.perl.org/rt3/Ticket/Display.html?id=48489 [perl.org]
    • That's great news. I noted your editor trims whitespace at the end of lines and that makes it rather hard to read the patch, but I'm still quite happy to see this :)