Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Detecting if Perl is installed and which version

by inman (Curate)
on Mar 24, 2006 at 14:58 UTC ( [id://539043]=note: print w/replies, xml ) Need Help??


in reply to Detecting if Perl is installed and which version

If I understand your question, you are wanting to detect the presence of the perl.exe executable and then perform an unattended execution of Perl if you don't find one. This should just be a case of trying a command like perl -v and seeing if it executes (in which case, you can test the version) or install a new version.

The perl.exe location depends on the installation tool that you are using. This doc on unattended installations may be of interest when it comes to adding ActiveState Perl since it uses it as an example.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-23 06:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found