in reply to check a modules functions dependencies are met

Have you tried to check it with Class::Inspector?
  • Comment on Re: check a modules functions dependencies are met

Replies are listed 'Best First'.
Re^2: check a modules functions dependencies are met
by irishBatman (Novice) on Aug 25, 2011 at 12:55 UTC

    Thanks for the pointer, so Ive just tried Class::Inspector. It does give me a list of functions, but only those already selected to be imported

    for example if I comment out a use all the imported function names just disappear, but there is no list of all the functions that will be called by the module.

    What I really need i a list of all the function called but, not exported by other modules

    This is the code I used

    #!/usr/bin/perl -w use Class::Inspector; use SmruLogging; use Data::Dumper; # Is a class installed and/or loaded print Class::Inspector->installed( 'SmruLogging' )." = Installed\n"; print Class::Inspector->loaded( 'SmruLogging' ) ." = Loaded\n"; print "functions ".Dumper(Class::Inspector->functions( 'SmruLogging' ) +); print "function_refs ".Dumper(Class::Inspector->function_refs( 'SmruLo +gging' )); print "methods ".Dumper(Class::Inspector->methods( 'SmruLogging' )); print "subclasses ".Dumper(Class::Inspector->subclasses( 'SmruLogging' + ));