Thread: Perl script error
09-08-2009, 03:33 PM #1
Perl script error
- Member Since
- Sep 08, 2009
Hi, if this is not the right place to post this question can someone suggest another forum or perhaps provide an answer.
I am trying to run a perl script get_iplayer.pl but I get the following error:
Can't locate HTTP/Cookies.pm in @INC (@INC contains: /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 .) at ./get_iplayer line 57.
BEGIN failed--compilation aborted at ./get_iplayer line 57.
I assume that I may not have a full install of Perl, but I don't know how to solve this. All suggestions welcome as I have been trying solve this for a few days now.
09-09-2009, 02:39 AM #2
- Member Since
- Jun 25, 2005
- On the road
- 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
Go into Terminal and type the following
find /System/Library/Perl -name "Cookies.pm" -print
If you don't get a line with that file in it, then it isn't installed.
That looks to be a library that is including on my OS X 10.5.6 system which contains Perl 5.8.8. Perhaps this is a late Apple addition that you have to track down and install your self. Perhaps I installed it in the distant path and forgot. I don't think so though.CameraTime - Time lapse photography for novice and advanced users.
When asking questions, post the version of your software. You'll receive better answers.
Please post your results to the thread as it is good feedback.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By ramya_lw in forum OS X - Development and DarwinReplies: 6Last Post: 12-14-2011, 01:22 PM
By BGTHEMOGUL in forum OS X - Operating SystemReplies: 6Last Post: 11-13-2010, 01:29 AM
By Vanya98 in forum OS X - Development and DarwinReplies: 0Last Post: 04-07-2010, 07:25 PM
By marvelaz in forum OS X - Development and DarwinReplies: 3Last Post: 01-18-2010, 10:54 PM
By mscoxoh in forum OS X - Operating SystemReplies: 0Last Post: 05-09-2008, 02:24 PM