Devel::TraceDeps::Scan - frontend and data access


NAME

Devel::TraceDeps::Scan - frontend and data access

Back to Top


SYNOPSIS

  my $scan = Devel::TraceDeps::Scan->load($filehandle);

Back to Top


Acquisition

scan

  my $scan = Devel::TraceDeps::Scan->scan(file => $filename, %opts);

Back to Top


Retrieval

load

  my $scan = Devel::TraceDeps::Scan->load($source);

Back to Top


Querying the Data

callers

The list of all packages which called use(), require(), or do().

  my @callers = $scan->callers;

items

Return all of the use/require/do events.

  my @items = $scan->items;

items_for

Return all of the use/require/do events for a given package.

  my @items_for = $scan->items_for($caller);

required

A unique list of use/require/do items.

  my @required = $scan->required;

loaded

Everything from required() which did not fail to load.

  my @loaded = $scan->loaded;

Back to Top


AUTHOR

Eric Wilhelm @ <ewilhelm at cpan dot org>

http://scratchcomputing.com/

Back to Top


BUGS

If you found this module on CPAN, please report any bugs or feature requests through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

If you pulled this development version from my /svn/, please contact me directly.

Back to Top


COPYRIGHT

Copyright (C) 2008 Eric L. Wilhelm, All Rights Reserved.

Back to Top


NO WARRANTY

Absolutely, positively NO WARRANTY, neither express or implied, is offered with this software. You use this software at your own risk. In case of loss, no person or entity owes you anything whatsoever. You have been warned.

Back to Top


LICENSE

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

Back to Top

 Devel::TraceDeps::Scan - frontend and data access