GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Log::Report::Optional(3) User Contributed Perl Documentation Log::Report::Optional(3)

Log::Report::Optional - pick Log::Report or ::Minimal

 Log::Report::Optional
   is a Exporter

 # Use Log::Report when already loaded, otherwise Log::Report::Minimal
 package My::Package;
 use Log::Report::Optional 'my-domain';

This module will allow libraries (helper modules) to have a dependency to a small module instead of the full Log-Report distribution. The full power of "Log::Report" is only released when the main program uses that module. In that case, the module using the 'Optional' will also use the full Log::Report, otherwise the dressed-down Log::Report::Minimal version.

For the full documentation:

  • see Log::Report when it is used by main
  • see Log::Report::Minimal otherwise

The latter provides the same functions from the former, but is the simpelest possible way.

Log::Report::Optional->usedBy()
Returns the classes which loaded the optional module.

This module is part of Log-Report-Optional distribution version 1.07, built on January 15, 2021. Website: http://perl.overmeer.net/CPAN/

Copyrights 2013-2021 by [Mark Overmeer <mark@overmeer.net>]. For other contributors see ChangeLog.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://dev.perl.org/licenses/

2021-01-15 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.