>>>>> 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. AnyLoader removes the
> need for the "require" and handles this behind the scenes.
> As its very similar to AutoLoader and SelfLoader, I've named it
> close to it.
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 ";
--
andreas