Re: Module submission AnyLoader

2001-05-10 Thread Andreas J. Koenig
> On Thu, 10 May 2001 20:04:26 +0100, Michael G Schwern <[EMAIL PROTECTED]> said: > On Thu, May 10, 2001 at 08:42:27PM +0200, Andreas J. Koenig wrote: >> I still have doubt about the name. We have AutoLoader, DynaLoader, >> SelfLoader, ByteLoader, XSLoader so what I would expect from an

Re: Module submission AnyLoader

2001-05-10 Thread Michael G Schwern
On Thu, May 10, 2001 at 08:42:27PM +0200, Andreas J. Koenig wrote: > I still have doubt about the name. We have AutoLoader, DynaLoader, > SelfLoader, ByteLoader, XSLoader so what I would expect from an > AnyLoader is that it replaces all those five. "auto" should be in the > name. Maybe autorequir

Re: Module submission AnyLoader

2001-05-10 Thread Andreas J. Koenig
> On Thu, 10 May 2001 17:12:27 +0100, Michael G Schwern <[EMAIL PROTECTED]> said: [...serious caveats to autouse omitted...] > So there's enough differences, I'd think, to let AnyLoader in. It was > originally written as "Hey, UNIVERSAL::AUTOLOAD, that's a neat idea!" Ahh, I see. I

Re: Module submission AnyLoader

2001-05-10 Thread Michael G Schwern
On Thu, May 10, 2001 at 05:12:27PM +0100, Michael G Schwern wrote: > I'll remember to put autouse into AnyLoader's SEE ALSO though. Hey, its already there! Wow, the ESP module works! -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EM

Re: Module submission AnyLoader

2001-05-10 Thread Michael G Schwern
On Thu, May 10, 2001 at 05:49:56PM +0200, Andreas J. Koenig wrote: > perl-5.6.1 has this: > > =head1 NAME > > autouse - postpone load of modules until a function is used > > =head1 SYNOPSIS > > use autouse 'Carp' => qw(carp croak); > carp "this carp was predeclared and autoused "; Yes, I

Re: Module submission AnyLoader

2001-05-10 Thread Andreas J. Koenig
> On Wed, 9 May 2001 22:05:56 +0200, "Perl Authors Upload Server" ><[EMAIL PROTECTED]> said: > rationale: > if($error) { require Carp; Carp::croak($error); } > is a rather common idiom to delay the loading of heavy modules > which themselves do not have an AutoLoader.

Module submission AnyLoader

2001-05-09 Thread Perl Authors Upload Server
The following module was proposed for inclusion in the Module List: modid: AnyLoader DSLIP: adph? description: Automagically loads modules for functions userid: MSCHWERN (Michael G Schwern) chapterid:2 (Perl_Core_Modules) communities: similar: AutoLoader S