For When You Can't Have The Real Thing
[ start | index | login ]
start > perl > list missing modules

list missing modules

Created by dave. Last edited by dave, 13 years and 138 days ago. Viewed 2,437 times. #2
[diff] [history] [edit] [rdf]
labels
attachments

How to list modules missing from a perl script?

cat <name-of-script> | awk '$1 == "use" {print "perl -e \"use "$2"\" 2> /dev/null || echo "$2}' | sh

(>>Source)

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt