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

Re: Really auto autoloaded modules

Thread Previous | Thread Next
From:
Dan Sugalski
Date:
February 2, 2001 07:26
Subject:
Re: Really auto autoloaded modules
Message ID:
5.0.2.1.0.20010202102359.01acbd80@24.8.96.48
At 01:41 PM 2/1/2001 -0500, Michael G Schwern wrote:
>On Thu, Feb 01, 2001 at 12:24:38PM -0600, Dave Rolsky wrote:
> > Here's a gross thought (for implementors at least ;)
> >
> > If it sees
> >
> >  use CGI qw( param header );
> >
> > the autoloader could look for a module which implements the 'CGI'
> > interface and has those two functions.
>
>Problem is, its extremely difficult to figure out what module
>implements what.

Right, which is one of the reasons why this is going to be explicit. No 
magic here--there's too much potential for things to get badly messed up.

					Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
dan@sidhe.org                         have teddy bears and even
                                      teddy bears get drunk


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