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.
  • A question (Score:2, Interesting)

    About 3/4 of the way down page 5 [perl.com], Larry answers the RFC's request for a subroutine to execute on_catch_enter or on_catch_exit with a suggestion to use temp "provided the implementation is smart enough to look for those hooks".

    Maybe I didn't understand the original question--I do admit to not reading the RFC--or Larry's explanation of how stuff fits together. Since CATCH is a closure, why can't it just have its own PRE and POST blocks? Something like:


    try {
        # ...
        CATCH {
    --
    $email =~ s/0/o/;