dig for missed dependencies
egrep -r '^\s*(use|with|extends)\s+' * \
| awk '{print $2}' | awk '{sub(/\;/, ""); print}' \
| sort -u
jumpstart a "00-load.t"
egrep -r '^\s*package ' * \
| awk '{ print $2}' \
| awk '{sub(/\;/, ""); print "use_ok(\""$1"\")"}' \
| sort -u
quick syntax checks
for i in `find ./ | egrep '\.(pm|pl|cgi|t)$'`; do perl -wc $i; done
If you haven't already, check out ack (a replacement for grep): https://metacpan.org/release/ack
ReplyDeleteAlso, for checking dependencies, take a look at Perl::PrereqScanner which might be more thorough.
ReplyDeleteack looks good
ReplyDeletethanks, harbud, I'll try it