in reply to
ScanDeps usage
First, I tried scanning lib-authtest.cgi---nothing happened. Then I tried it as "lib-authtest": bingo. You'll also need
to use a dumper for $value. Here's what worked for me on a
hybrid Linux system:
#!/usr/bin/perl -l
use strict;
use autodie;
use warnings;
use Module::ScanDeps;
use Data::Dumper::Concise;
my $hash_ref = scan_deps(
files => [ '/root/Desktop/lib-authtest' ],
recurse => 1,
);
print "Now starting: \n";
while (my ($key, $value) = each(%{$hash_ref})) {
print $key, Dumper($value);
}