in reply to Perl modules in Windows

ActivePerl comes with an utility called PPM (Perl Package Manager, I guess).

Just open a DOS prompt and type ppm. Then just do "install module-name".

e.g.: install Net::IRC

PPM can also search ActiveState so you can find the modules you need. Just type "search term".

BTW, you can type "help" as well *lol*

Best regards,

my ($author_nickname, $author_email) = ("DaWolf","erabbott\@terra.com.br") if ($author_name eq "Er Galvão Abbott");

Replies are listed 'Best First'.
Re: Re: Perl modules in Windows
by Ninthwave (Chaplain) on Nov 05, 2003 at 15:10 UTC

    If you use a proxy also set these environmental variables as such:

    set HTTP_proxy = http://myproxy.goes.here set HTTP_proxy_user = my_proxy_user_name set HTTP_proxy_pass = my_proxy_password
    Activestate has very good documentation for all that comes with their perl distribution and the modules they supply.

Re: Re: Perl modules in Windows
by Win (Novice) on Nov 05, 2003 at 15:22 UTC
    I have worked out ppm. Now I get the following when I run my program.
    Can't locate DBI/ODBC.pm in @INC (@INC contains:F:/Perl/lib etc etc
    Any explanation? I have already installed:
    3. DBD-ODBC [1.06] ODBC Driver for DBI
      Can't locate DBI/ODBC.pm

      That doesn't sound right, it should be DBD/ODBC. Either you typoed in your script or you didn't cut and paste. The correct syntax is:

      my $dbh = DBI->connect("dbi:ODBC:$dsn",$user,$pass,$attrs);
      A reply falls below the community's threshold of quality. You may see it by logging in.
      A reply falls below the community's threshold of quality. You may see it by logging in.