in reply to ScanDeps usage
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: ScanDeps usage
by syphilis (Archbishop) on Jul 19, 2012 at 11:09 UTC |