in reply to Every time I add a module and try to use i get can't find module in @INC, Why?

Did you cut and paste the error message literally? If so, you apparently have something like use NET::FTP when you mean use Net::FTP

Replies are listed 'Best First'.
Re: Re: Every time I add a module and try to use i get can't find module in @INC, Why?
by unixwzrd (Beadle) on Feb 25, 2001 at 05:10 UTC
    Additionally, you can encounter the @INC error if it genuinely can't find the module so, you should use:
    use lib "some/dir/name";

    Mike - mps@discomsys.com

    "The two most common elements in the universe are hydrogen... and stupidity."
    Harlan Ellison