Skip Menu |
 

This queue is for tickets about the CGI-Application-Plugin-LogDispatch CPAN distribution.

Report information
The Basics
Id: 36833
Status: new
Priority: 0/
Queue: CGI-Application-Plugin-LogDispatch

People
Owner: Nobody in particular
Requestors: MARKSTOS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.02
Fixed in: (no value)



Subject: wish: lazy-load Log::Dispatch
MIME-Version: 1.0
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Content-Type: text/plain
Charset: utf8
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 401
Download (untitled) / with headers
text/plain 401b
Hi Cees, I hope the family is well. I've got a little one now myself. Is there any reason not to lazy-load Log::Dispatch by 'require'ing it on log() rather than "use"ing in at the top of file? I'm thinking in the context of distributing the module as part of a larger framework where logging my often not get used at all, so it would be nice to minimize the hit of having the feature available.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.