develooper Front page | perl.perl5.porters | Postings from June 2003

Re: selective import

Thread Previous
Jim Cromie
June 1, 2003 19:11
Re: selective import
Message ID:
yesterday, Jim Cromie blurted out:

> in msg:   
> Graham left open the possibility that selective import was not verboten.
> The following example and patch shows it just might be useful.

since its too late to s/send/save-and-review/;
I apologize for the over-statement.

s/just might be useful/ coexists with documented behavior/;

ie, in           use base qw(Foo Bar);

the import list is always scalars, usually barewords,
so finding refs in that list is at very least unexpected.

More to the point, its undefined, and could thus be considered fair-game 
some use.  Whether this use is good enough to grab such an idiom is
another question entirely.


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