Peter Scott wrote:
>
> I want the 'try' there for my sake, not Perl's; ... it
> helps alert me that the following block is subject to non-local control
> flow rules.
Huh? Down that road lies the Java madness.
eval {
foo();
};
sub foo {
bar();
}
sub bar {
die $barney;
}
All three of these blocks are "subject to non-local control flow rules",
including the body of foo.
--
John Porter
- Re: assign to magic name-of-function variable instead... David L. Nicol
- Re: assign to magic name-of-function variable instead of &... Glenn Linderman
- Re: assign to magic name-of-function variable instead of &... Damian Conway
- Re: assign to magic name-of-function variable instead... Edward Peschko
- Re: assign to magic name-of-function variable instead... abigail
- Re: assign to magic name-of-function variable ins... John Porter
- Re: assign to magic name-of-function variable ins... Tony Olekshy
- Re: assign to magic name-of-function variable ins... John Porter
- Re: assign to magic name-of-function variable ins... Peter Scott
- Re: assign to magic name-of-function variable ins... John Porter
- Re: assign to magic name-of-function variable ins... Peter Scott
- Re: assign to magic name-of-function variable ins... David L. Nicol
- Re: assign to magic name-of-function variable ins... John Porter
- Re: assign to magic name-of-function variable ins... Peter Scott
- Re: assign to magic name-of-function variable ins... David L. Nicol
- Re: assign to magic name-of-function variable ins... Nicholas Clark
- POST blocks (like END, but in a sub or sub-like s... David L. Nicol
- Re: POST blocks (like END, but in a sub or sub-li... Nicholas Clark
- Re: POST blocks (like END, but in a sub or sub-li... David L. Nicol
- Re: POST blocks (like END, but in a sub or sub-li... Nicholas Clark
