in reply to Re: Usuage of CPAN's Text::Delimited
in thread Usuage of CPAN's Text::Delimited

I tried both the ways,its gives me the same error.

use lib "/user/comp/name/lib/site_perl/5.8.8/Text";# This is the path +to the Text/Delimited.pm use lib "/user/comp/name/lib";

perl Makefile.PL PREFIX=/some/dir LIB=/some/dir/lib/perl5
In this PREFIX is the local directory path where i want to install the module(which would give me the lib and man folders)

so does LIB has the path to the LIB folder of the perl? is this correct??

Replies are listed 'Best First'.
Re^3: Usuage of CPAN's Text::Delimited
by keszler (Priest) on Nov 17, 2009 at 00:35 UTC
    I believe your first 'use lib' went one directory too far. Try:
    use lib "/user/comp/name/lib/site_perl/5.8.8;
    When you 'use Text::Delimited;', 'Text' is searched for in @INC, then Delimited.pm in 'Text'. Since there is no "/user/comp/name/lib/site_perl/5.8.8/Text/Text", Delimited.pm wasn't found.
Re^3: Usuage of CPAN's Text::Delimited
by ikegami (Patriarch) on Nov 17, 2009 at 05:27 UTC

    use lib "/user/comp/name/lib/site_perl/5.8.8/Text";# This is the path to the Text/Delimited.pm.

    No, that's the path to Delimited.pm. You want the path to Text/Delimiated.pm. Get rid of that trailing Text