in reply to Re: Installing Module
in thread Installing Module

Do appreciate the ellaborate response. As suggested, I started the Perl Package Manager and it on its own downloaded Finance::Quote. Now...I have placed stockpick.pl in 'C:\Perl\eg'. When I execute the command "perl stockpick.pl nsdq goog", the following error is generated:
C:\Perl\eg>perl stocktick.pl nsdq goog Can't locate HTML/TableExtract.pm in @INC (@INC contains: C:/Perl/site +/lib C:/Pe rl/lib .) at C:/Perl/site/lib/Finance/Quote.pm line 38. BEGIN failed--compilation aborted at C:/Perl/site/lib/Finance/Quote.pm + line 38. Compilation failed in require at stocktick.pl line 3. BEGIN failed--compilation aborted at stocktick.pl line 3.
So I will attempt the method suggested by you. Where should the command "ppm repo add C:\LocalRepo MyRepo" be executed. When I execute it in C:\>, the following error is generated:
C:\>ppm repo add C:\LocalRepo MyRepo ppm repo failed: The repository URL must be absolute or a local direct +ory
Please advise. Await your response. Best, wirefree

Replies are listed 'Best First'.
Re^3: Installing Module
by narainhere (Monk) on Dec 11, 2007 at 04:50 UTC
    This error
    C:\>ppm repo add C:\LocalRepo MyRepo ppm repo failed: The repository URL must be absolute or a local direct +ory
    probably has to do with the different syntax for different versions(I use 5.8x) of ppm.Either of the following should work
    ppm repo add MyRepo C:\LocalRepo
    if not then
    ppm repo add C:\LocalRepo
    here you can access the repo with a numeric identifier listed by
    ppm repo
    The other error
    C:\Perl\eg>perl stocktick.pl nsdq goog Can't locate HTML/TableExtract.pm in @INC (@INC contains: C:/Perl/site +/lib C:/Pe rl/lib .) at C:/Perl/site/lib/Finance/Quote.pm line 38. BEGIN failed--compilation aborted at C:/Perl/site/lib/Finance/Quote.pm + line 38. Compilation failed in require at stocktick.pl line 3. BEGIN failed--compilation aborted at stocktick.pl line 3.
    It means the module HTML::TableExtract is missing and some script (it may even by any of the libraries you are using ) needs it.Install the module the same way you install Finance::Quote.

    The world is so big for any individual to conquer

      - HTML::TableExtract was successful - stockpick.pl scripts now executes I have executed the new commands. But the error persists. I am using A +ctiveState 5.8.8 Build 822. See below: C:\>ppm repo add MyRepo C:\LocalRepo ppm repo failed: The repository URL must be absolute or a local direct +ory C:\>ppm repo add C:\LocalRepo ppm repo failed: The repository URL must be absolute or a local direct +ory
      C:\>ppm repo ┌────┬──────┬────────────────────────────────┐ │ id │ pkgs │ name │ ├────┼──────┼────────────────────────────────┤ │ 1 │ 6947 │ ActiveState Package Repository │ └────┴──────┴────────────────────────────────┘ (1 enabled repository)