develooper Front page | perl.perl5.porters | Postings from August 2021

Re: PSC #034 2021-08-20 - "Namespaces Special"

Thread Previous | Thread Next
David Nicol
August 31, 2021 18:27
Re: PSC #034 2021-08-20 - "Namespaces Special"
Message ID:
Lexical method names? C<my sub foo {...}> works or no?

how about "my use ..." to somehow make caller()[0] refer to the top pad
instead of the package?

>   * Lexical - much like `use strict`, `use feature`, etc.. rather than
>     any of the "inject subs into caller's package" ideas like Exporter.
"Lay off that whiskey, and let that cocaine be!" -- Johnny Cash

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About