in reply to Re^2: Perl Upgrade with Redhat Linux OS Upgrade
in thread Perl Upgrade with Redhat Linux OS Upgrade
find /path/to/the/scripts -name '*.pl' -exec perl -wc {} \;
perl -wc is to check the syntax of the scripts. They should give "OK" back, but that is not a guarantee to run correctly, though; only that the libraries are found and the syntax is ok according to Perl.
This only works if the perl scripts have the .pl extension (which is not mandatory).
|
---|