develooper Front page | perl.perl5.porters | Postings from April 2007

Re: idea for yet another LNV and caller() return value (was: The Strict trap)

Thread Previous | Thread Next
From:
David Nicol
Date:
April 25, 2007 14:11
Subject:
Re: idea for yet another LNV and caller() return value (was: The Strict trap)
Message ID:
934f64a20704251411t2f0447c0wf8b56555057ecb5@mail.gmail.com
On 4/25/07, Artur Bergman <sky@crucially.net> wrote:

> What are we trying to accomplish?

do something within an import subroutine that sets a POST hook in
the caller's scope. (to imply the unimport subroutine, for instance.)

This would provide dynamic C<local> semantics for pragmata,
as an alternative to the C<my> semantics provided by %^H.


-- 
practical solutions to systemic problems

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