There's more than one way to do things | |
PerlMonks |
Re^3: Perl Upgrade with Redhat Linux OS Upgradeby FreeBeerReekingMonk (Deacon) |
on Sep 26, 2019 at 20:28 UTC ( [id://11106763]=note: print w/replies, xml ) | Need Help?? |
You can use find: 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).
In Section
Seekers of Perl Wisdom
|
|