Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: How to manage the transfer of large Perl environments from one network to another

by swl (Parson)
on Mar 29, 2019 at 22:46 UTC ( [id://1231887]=note: print w/replies, xml ) Need Help??


in reply to Re: How to manage the transfer of large Perl environments from one network to another
in thread How to manage the transfer of large Perl environments from one network to another

Another option is to use Module::ScanDeps::scandeps (see docs at https://metacpan.org/pod/Module::ScanDeps#scan_deps).

If I remember correctly, this will handle use lib calls so if you pass it all the .pl files in your copy of the client's environment then it should find all the dependencies and their locations without needing to execute the code.

You will need to parse the results, but that's perhaps a small price to pay.

It also will not handle mylib or rlib calls if they are used.

  • Comment on Re^2: How to manage the transfer of large Perl environments from one network to another
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-24 16:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found