|
Module::PrintUsed - Prints modules used by your script when your script ends |
use Module::PrintUsed;
This module helps you to check which modules (and scripts) were used or
required during the runtime of your script. It prints the list of modules
to STDERR, including version numbers and paths.
Module::PrintUsed contains an END {} block that will be executed when
your script exits (even if it died).
Module::PrintUsed::ModulesList()
@modules = ({name => 'Some::Module', version => '0.1',
path => '/home/thisuser/lib/Some/Module.pm'}, ...);
Module::PrintUsed::FormattedModulesList()
A more sophisticated way of finding module dependencies without having to execute the script is performed by the Module::ScanDeps manpage.
Christian Renz, <crenz @ web42.com>
Copyright 2004 Christian Renz <crenz @ web42.com>. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|
Module::PrintUsed - Prints modules used by your script when your script ends |