in reply to Re^4: Two Versions of Perl...
in thread Two Versions of Perl......

The command-line program file should be useful here. Try "file /usr/local/cellar/get_iplayer/3.01.0/bin/get_iplayer" - if it shows you something like "Perl script, ASCII text executable", you can go ahead and open that file in a plain-text editor of your choice (not Word or other rich-text editors - I believe the standard TextEdit should be fine, see Tools for OSX). If it shows you something like "symbolic link to filename", you'll have to follow the chain a bit further and do file filename, and so on. In the unlikely case that it shows you some kind of binary file format instead of ASCII, please post that here.

Replies are listed 'Best First'.
Re^6: Two Versions of Perl...
by TexanScot (Initiate) on May 07, 2017 at 18:55 UTC

    Haukex......you are an absolute star!!

    The get_iplayer file in the /usr/local/cellar/get_iplayer/3.01.0/bin/ folder did indeed turn out to be get_iplayer Perl script. I edited both this script and the iplayer.cgi script (which was in the libexec folder) and everything now seems to be working as it should.

    Can't thank you enough for the help that you provided. I really dont think I could worked it out by mself

    .