wirefree has asked for the wisdom of the Perl Monks concerning the following question:

~~Namaste Monks~~ Users of this script are forced to play games. The game is to endlessly search for the answer which hides at the botton of the pile. See below - google's stockquote lurks at the bottom of the pit below lines of errors. Could someone assist me with removing these errors please.
C:\Perl\eg>perl stocktick.pl NYSE GOOG Can't locate Crypt/SSLeay.pm in @INC (@INC contains: C:/Perl/site/lib +C:/Perl/li b .) at C:/Perl/site/lib/Finance/Quote/Deka.pm line 23. Compilation failed in require at (eval 10) line 1. BEGIN failed--compilation aborted at (eval 10) line 1. at stocktick.pl line 7 Can't locate Crypt/SSLeay.pm in @INC (@INC contains: C:/Perl/site/lib +C:/Perl/li b .) at C:/Perl/site/lib/Finance/Quote/DWS.pm line 36. Compilation failed in require at (eval 11) line 1. BEGIN failed--compilation aborted at (eval 11) line 1. at stocktick.pl line 7 Can't locate Crypt/SSLeay.pm in @INC (@INC contains: C:/Perl/site/lib +C:/Perl/li b .) at C:/Perl/site/lib/Finance/Quote/Tiaacref.pm line 32. Compilation failed in require at (eval 27) line 1. BEGIN failed--compilation aborted at (eval 27) line 1. at stocktick.pl line 7 ←[32mName: GOOGLE Value: 717.72 (previous value: 0)

Replies are listed 'Best First'.
Re: Error: First Perl initiative
by dragonchild (Archbishop) on Dec 12, 2007 at 02:34 UTC
    Crypt::SSLeay is one of the hardest modules to install. You will want to use the PPM for it (if there is one). Ask around.

    My criteria for good software:
    1. Does it work?
    2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?

      I can confirm that there is a PPM package for it. Just installed it myself with no problems.

      --
      meraxes

        I tried the install, and can't find it on PPM version 4.01 with ActivePerl 5.8.8.822:

        WARNING: Can't find any package that provide Crypt-SSLeay for Finance-Quote

        Is there a way to tell PPM where to find it?

        Software speaks in tongues of man; I debug, therefore I code.

        Could you please confirm your PPM. I am employing EngInSite PPM.
Re: Error: First Perl initiative
by meraxes (Friar) on Dec 12, 2007 at 01:44 UTC

    Without seeing any code it looks like you're missing a module for a start. When you installed the various Finance::Quote modules it should have installed Crypt::SSLeay... unless you did it manually. You can start by using a module installation program for your platform like cpan (*nix) or ppm (Win32's ActiveState Perl) to install modules as they handle dependancies. How did you install your modules in the first place? Just copied the source and pasted into a file?

    --
    meraxes
      Appreciate the response.
      - I am employing EngInSite PPM for module installtion. It has installe +d Finance::Quote but returned the following error at the end of insta +llation: "Module installed, but there are warnings."
      How would you suggest I proceed.