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

Re: What's left to do? [LONG]

March 22, 2000 19:45
Re: What's left to do? [LONG]
Message ID:

> >+@EXPORT_OK = qw($name $dir $fullname);
> Nope.  Please read my other message detailing why this fails.

(In which you said)

> 402:        local ($dir, $name, $prune, *DIR);
> If you run local() on something that's only partially imported

But we're not doing that any more. I killed the localisation
of the variables we (potentially) import, for this very reason:

> -    local ($dir, $name, $prune, *DIR);
> +    local ($_dir, $prune, *DIR);

Sure, you still have to import the default functions manually
when you import one of these variables, but we can either
   i) provide our own import() which *always* exports
&find and &finddepth
or ii) assume that people who are going to specify an import
list know know it works.

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