If I run the following code (noname.pl is the name of the file containing the script btw):
use strict;
use warnings;
use Module::ScanDeps;
my $hash_ref = scan_deps(files => ['noname.pl'], recurse => 1,);
while (my ($key, $value) = each(%{$hash_ref})) {
print "$key, $value<br />\n";
}
I get over 800 lines of output starting:
Set up gcc environment - 3.4.5 (mingw-vista special r3)
unicore/lib/gc_sc/InBuhid.pl, HASH(0x64b47ac)<br />
unicore/lib/gc_sc/InGeomet.pl, HASH(0x64b7c84)<br />
unicore/lib/gc_sc/Knda.pl, HASH(0x64c073c)<br />
Note the very first line (which is actually printed to STDERR)! That implies to me that you need a compiler available for the module to run correctly. Could that be your problem?
True laziness is hard work
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.