
Devel::VersionDump - Dump loaded module versions to the console

0.02

perl -MDevel::VersionDump your-script.pl use Devel::VersionDump; use Devel::VersionDump '-stderr'; use Devel::VersionDump qw(dump_versions); # later... dump_versions;

This module prints a sorted list of modules used by your program to stdout. It does this by walking %INC in Perl's INIT phase.

Tells the dumper to print to stderr instead of stdout.
Exports the dump_versions function into the caller's namespace, and turns off the automatic printing in the INIT phase. Dumping versions is then achieved by calling dump_versions.

Dumps versions to STDOUT or STDERR, depending on if '-stderr' was specified in import.

Rob Hoelz <rob@hoelz.ro>

Please report any bugs or feature requests to bug-Devel-VersionDump at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Devel-VersionDump. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

Copyright 2011 Rob Hoelz.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.