Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Perl Upgrade with Redhat Linux OS Upgrade

by FreeBeerReekingMonk (Deacon)
on Sep 26, 2019 at 20:28 UTC ( [id://11106763]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Perl Upgrade with Redhat Linux OS Upgrade
in thread Perl Upgrade with Redhat Linux OS Upgrade

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).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11106763]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-03-29 02:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found