" />

mikerochford.com Being technical

29Mar/110

Find all the perl modules in your script and make sure they are installed

Ever migrated code from one server to another and never remember if you captured all the modules that need to be installed? I have, its a pain in the ass sometimes. So I thought I would throw together a little script to check if I have all the modules I used installed. I have written it in python and perl (Dont ask!)

Versions:

Example:

mrochford@mrochford-linux:~/bin$ ./perl_module_check.pl simpleMenu.pl
Found 5 modules in simpleMenu.pl
Testing Config: OK
Testing Data::Dumper: OK
Testing FindBin: OK
Testing Strings::IO: NOT INSTALLED
Testing strict: OK

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

No trackbacks yet.