On Wed, Jan 6, 2016 at 9:46 AM, Dermot <paik...@gmail.com> wrote: > You could try the `which` command if you are using a *nix based OS. For > instance; > > >which perl > /usr/bin/perl >
and, to go a little further, as /usr/bin/perl is the most likely and so it's probably the 5.005 version, you could look at /usr/local/bin/perl, if there is one or try the "locate" command > locate bin/perl /opt/ecf/bin/perl /opt/ecf/bin/perlbug /opt/ecf/bin/perlcc /opt/ecf/bin/perldoc /opt/ecf/bin/perlivp ... /usr/bin/perl /usr/bin/perl5.8.8 /usr/bin/perlbug .. /usr/local/bin/perl or > locate "*/perl" /opt/ecf/bin/perl /home/offsite_data/inside/usr/local/perl /home/offsite_data/inside/usr/local/bin/perl /usr/bin/perl /usr/local/bin/perl any of those might be the the 5.008+ version you need. You can than use the full path, e.g. > /usr/local/bin/perl <script> to run it, or, better, set the "shebang" line - the first line of the script, after the "#!" to the appropriate perl e.g. #!/opt/ecf/bin/perl ... <rest of script> (it may be just "#!perl") and change/make sure the script has execute permissions set and you can the just run it and it'll find the correct perl via that shebang line, so you can just do: > <script> -- a Andy Bach, afb...@gmail.com 608 658-1890 cell 608 261-5738 wk