Y
Yash
In our perl scripts, we give the path to the perl interpreter on the
first line of the script as :
#!/usr/bin/perl
But our customers sometimes have perl installed in some other place
such as /opt/perl/bin/perl or /usr/local/bin/perl
Is there a way to specify all such possible paths and make sure the
one that exists gets used?
This is so that no change needs to be done at the customer's end.
Thanks
first line of the script as :
#!/usr/bin/perl
But our customers sometimes have perl installed in some other place
such as /opt/perl/bin/perl or /usr/local/bin/perl
Is there a way to specify all such possible paths and make sure the
one that exists gets used?
This is so that no change needs to be done at the customer's end.
Thanks