in reply to @INC problem

Is there any chance that you can upgrade to a version of Perl that isn't seven years old?

You can't just download Perl modules and expect them to work. They need to be installed in the correct directories. It is possible to do this manually, but it's not recommended.

What was the error that you got?

--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

Replies are listed 'Best First'.
Re^2: @INC problem
by Anonymous Monk on Nov 03, 2004 at 12:31 UTC
    thanks for the quick response
    the error message is like this:
    Can't locate Net/Telnet.pm in @INC (@INC contains: Z:\test\perl z:\tes +t\sybperl\perl\lib Z:\test\sybperl\perl\lib\site z:\test\sybperl\perl +\lib\File z:\test\sybperl\perl\lib\temp C:\Perl\lib\site C:\Perl\lib +c:\perl\lib c:\perl\lib\site c:\perl\lib\site .) at testscript.pl lin +e 162. BEGIN failed--compilation aborted at testscript.pl line 162.
    Jonathan

      Yeah, that's pretty much what I expected to see. You need to put Telnet.pm in a directory called Net in one of the directories in your @INC. Or, alternatively, change @INC (with "use lib") to include the driectroy where the library is installed.

      All in all, you'd be much better off upgrading either your Perl, your sysadmin or your job as appropriate.

      --
      <http://www.dave.org.uk>

      "The first rule of Perl club is you do not talk about Perl club."
      -- Chip Salzenberg

      Where did you download the module to?

      --- Jay

      All code is untested unless otherwise stated.
      All opinions expressed are my own and are intended as guidance, not gospel; please treat what I say as such and as Abigail said Think for yourself.
      If in doubt ask.