Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Detecting if Perl is installed and which version

by inman (Curate)
on Mar 24, 2006 at 14:58 UTC ( #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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://539043]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2018-03-24 05:19 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (297 votes). Check out past polls.