NAME

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

VERSION

0.02

SYNOPSIS

perl -MDevel::VersionDump your-script.pl

use Devel::VersionDump;

use Devel::VersionDump '-stderr';

use Devel::VersionDump qw(dump_versions);
# later...
dump_versions;

DESCRIPTION

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.

IMPORT OPTIONS

-stderr

Tells the dumper to print to stderr instead of stdout.

dump_versions

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.

FUNCTIONS

dump_versions

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

AUTHOR

Rob Hoelz <rob@hoelz.ro>

BUGS

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 & LICENSE

Copyright 2011 Rob Hoelz.

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