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

Re: docpatch concerning scoping operators in argument lists to C<use> and C<no>

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
March 6, 2007 03:33
Subject:
Re: docpatch concerning scoping operators in argument lists to C<use> and C<no>
Message ID:
b77c1dce0703060333q7da95451jf6972695f188dabd@mail.gmail.com
On 01/03/07, David Nicol <davidnicol@gmail.com> wrote:
> For instance, I'll try to set up semantics allowing
>
>     use specialkindofvariable my $foo;  # won't DWIM!  see below
>
> but instead I need to my that $foo ahead of time.  At least I have succeeded
> in hiding things like C<tie $foo, 'specialkindofvariable'> inside
> import routines.

I don't think it's a good idea to document this, because 1/ this is
quite obscure, 2/ this might change in the future (I'd like to see it
change to dwim better.)

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