Thread: Perl Interpreter

  1. #1
    The Determined
    Join Date
    Nov 2005
    Location
    England
    Posts
    5

    Perl Interpreter

    Hi, i have had problems using a perl interpreter in C, and i wondered if anyone had any tips.

    Basically, ActiveState's version gives me a whole load of errors from handy.h and im not sure if it all compiles correctly.

    Gurusamy Sarathy's version works, but perl.lib is corrupted and so it can't compile.

    Does anyone know which is the best version to use? Thanx,

    - Aldarn.

  2. #2
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    I use ActiveState's precompiled binary. It works well for me.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  3. #3
    Super Moderator Harbinger's Avatar
    Join Date
    Nov 2004
    Posts
    74
    Ooh ooh - lets play a game of guessing which OS and compiler you're using, then see if your choice of lib makes any sense whatsoever.

    Not to mention the psychic abilities needed to figure out what the hell "gives me a whole load of errors" actually means.

  4. #4
    The Determined
    Join Date
    Nov 2005
    Location
    England
    Posts
    5
    As mentioned in my last post i use MSVC 6, and Windows XP obviously.

  5. #5
    Super Moderator Harbinger's Avatar
    Join Date
    Nov 2004
    Posts
    74
    > Hi, i have had problems using a perl interpreter in C, and i wondered if anyone had any tips.
    No compiler mentioned, perhaps RTFM would help.

    > Basically, ActiveState's version gives me a whole load of errors from handy.h and im not sure if it all compiles correctly.
    Nope, no mention there of a compiler.
    Activestate quotes for perl "Industry-standard Perl distribution for AIX, HP-UX, Linux, Mac OS X, Solaris, and Windows".
    Can't infer your OS/Compiler from that.

    > Gurusamy Sarathy's version works, but perl.lib is corrupted and so it can't compile.
    Still no sign of which compiler here either.

    > Does anyone know which is the best version to use? Thanx,
    Full house - no comment

  6. #6
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    I assumed that the OP was using Windows, since most *NIX systems come with Perl already installed.

    ActivePerl can be found here: http://www.activestate.com/Products/ActivePerl/?mp=1.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Interpreter Features Question
    By audinue in forum C Programming
    Replies: 0
    Last Post: 10-19-2008, 07:29 AM
  2. C++ v's Perl
    By kmcghee in forum C++ Programming
    Replies: 8
    Last Post: 08-13-2005, 10:37 AM
  3. perl program question
    By newbie2c in forum Tech Board
    Replies: 2
    Last Post: 02-03-2003, 10:19 AM
  4. Urgent Needed - PERL
    By beely in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 07-02-2002, 08:09 PM
  5. perl need help pls.....
    By magnum38 in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 12-12-2001, 10:35 PM