Skip to content
Snippets Groups Projects
Commit f6423f85 authored by Tomáš Plesník's avatar Tomáš Plesník
Browse files

skript vytiskne verze nastavenych perlovych baliku

parent 4ffb9ec5
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
#
# Script obtain Perl package version
#
modules=(SOAP::Lite SOAP::Transport::TCP File::Pid POSIX DBI Format::Human::Bytes Sys::Syslog File::Basename FindBin Net::CIDR::Lite DateTime)
for module in ${modules[@]}
do
perl -e "eval { require $module; }; if (\$@) { print \"$module: version not found\n\"; } else { print \"$module >= \$$module::VERSION\n\"}"
done
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment