Results 1 to 2 of 2
  1. #1
    Perl script error

    Member Since
    Sep 08, 2009
    Posts
    1
    Perl script error
    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.

    Thanks,
    Terrence

  2. #2
    Perl script error
    xstep's Avatar
    Member Since
    Jun 25, 2005
    Location
    On the road
    Posts
    3,231
    Specs:
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Calling Perl Script From AppleScript
    By ramya_lw in forum OS X - Development and Darwin
    Replies: 6
    Last Post: 12-14-2011, 12:22 PM
  2. Need help running perl script on Mac OS X
    By BGTHEMOGUL in forum OS X - Operating System
    Replies: 6
    Last Post: 11-13-2010, 12:29 AM
  3. Perl script
    By Vanya98 in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 04-07-2010, 06:25 PM
  4. Perl Script Problems
    By marvelaz in forum OS X - Development and Darwin
    Replies: 3
    Last Post: 01-18-2010, 09:54 PM
  5. Can't properly save and use script (Perl) files
    By mscoxoh in forum OS X - Operating System
    Replies: 0
    Last Post: 05-09-2008, 01:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •