darren chamberlain <[EMAIL PROTECTED]> wrote:
>James G Smith <[EMAIL PROTECTED]> said something to this effect on 07/03/2001:
>> sub use : immediate {
>> # do stuff here if logging
>> return CORE::use(@_);
>> }
>
>To go OT here, what would 'immediate' be doing here, if Perl
>supported it?
It
How would something like this do:
NAME
Apache::Use
SYNOPSIS
use Apache::Use (Logger => DB, File => "/www/apache/logs/modules");
DESCRIPTION
Apache::Use will record the modules used over the course of the
Perl interpreter's lifetime. If the logging module is able, the
old logs are read and
James G Smith <[EMAIL PROTECTED]> said something to this effect on 07/02/2001:
> How would something like this do:
>
> NAME
>
> Apache::Use
>
> SYNOPSIS
>
> use Apache::Use (Logger => DB, File => "/www/apache/logs/modules");
>
> DESCRIPTION
>
> Apache::Use will record the modules used over t
darren chamberlain <[EMAIL PROTECTED]> wrote:
>James G Smith <[EMAIL PROTECTED]> said something to this effect on 07/02/2001:
>> How would something like this do:
>>
>> NAME
>>
>> Apache::Use
>>
>> SYNOPSIS
>>
>> use Apache::Use (Logger => DB, File => "/www/apache/logs/modules");
>>
>> DESCRI
James G Smith <[EMAIL PROTECTED]> said something to this effect on 07/03/2001:
> darren chamberlain <[EMAIL PROTECTED]> wrote:
> > James G Smith <[EMAIL PROTECTED]> said something to this effect on 07/02/2001:
> > > Apache::Use
> >
> > You can get this information from %INC, can't you? e.g.:
>
>
On Tuesday 03 July 2001 16:46, darren chamberlain wrote:
> James G Smith <[EMAIL PROTECTED]> said something to this effect:
> > The current code I have uses %INC, but I wanted to write
> > something like the following:
> >
> > sub use : immediate {
> > # do stuff here if logging
> > return COR
On Tue, 3 Jul 2001, James G Smith wrote:
> The current code I have uses %INC, but I wanted to write
> something like the following:
>
> sub use : immediate {
> # do stuff here if logging
> return CORE::use(@_);
> }
you could just override CORE::GLOBAL::require. you don't need to
override
Doug MacEachern <[EMAIL PROTECTED]> wrote:
>On Tue, 3 Jul 2001, James G Smith wrote:
>
>> The current code I have uses %INC, but I wanted to write
>> something like the following:
>>
>> sub use : immediate {
>> # do stuff here if logging
>> return CORE::use(@_);
>> }
>
>you could just overri