Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: ScanDeps usage

by Khen1950fx (Canon)
on Jul 19, 2012 at 04:55 UTC ( #982582=note: print w/ replies, xml ) Need Help??


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); }


Comment on Re: ScanDeps usage
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://982582]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2014-09-19 15:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (142 votes), past polls