in reply to Re: @INC problem
in thread @INC problem

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

Replies are listed 'Best First'.
Re^3: @INC problem
by davorg (Chancellor) on Nov 03, 2004 at 13:47 UTC

    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

Re^3: @INC problem
by gothic_mallard (Pilgrim) on Nov 03, 2004 at 13:00 UTC

    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.