develooper Front page | perl.perl5.porters | Postings from July 2009

Re: %^H (was Re: Coring Variable::Magic / autodie fights with string eval in Perl 5.10.x)

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
July 7, 2009 08:46
Subject:
Re: %^H (was Re: Coring Variable::Magic / autodie fights with string eval in Perl 5.10.x)
Message ID:
b77c1dce0907070846n3c216046n17d0411d0a100ba8@mail.gmail.com
2009/7/7 Nicholas Clark <nick@ccl4.org>:
> No, I don't have any real idea of Perl-space syntax for an end of scope
> hook. Or how to meaningfully encode a "restart of scope" hook, which a
> string eval would need. [After all, a pragma is in force for the compilation
> of the string eval, and on completing the compilation of that string eval,
> it goes out of scope, doesn't it? :-)]

How does P6 do it ? Isn't there a special block à la BEGIN/END/CHECK etc ?
(B::Hooks::EndOfScope uses a special block syntax)

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About