develooper Front page | perl.perl6.language | Postings from December 2001

Re: Perl 6's Exporter

Thread Previous | Thread Next
From:
Michael G Schwern
Date:
December 24, 2001 08:42
Subject:
Re: Perl 6's Exporter
Message ID:
20011224164217.GC24299@blackrider
On Mon, Dec 24, 2001 at 04:22:33PM +0000, Nicholas Clark wrote:
> > Also it would cause "subroutine redefined" warnings in this sort of
> > code:
> > 
> >     use Exporter;
> >     sub import {
> >         ...
> >         Exporter::export_to_level(...);
> >     }
> 
> Not if it's in EXPORT_OK, surely?

Oh, I was thinking @EXPORT.


-- 

Michael G. Schwern   <schwern@pobox.com>    http://www.pobox.com/~schwern/
Perl Quality Assurance	    <perl-qa@perl.org>	       Kwalitee Is Job One
We don't know.	But if we did, we wouldn't tell you.

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