[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Username already exists



> I got the script to work in the shell, when I run it from PHP I get the
> following error:
>
> Can't locate Cobalt/Meta.pm in @INC (@INC contains:
> /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
> /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005
.)
> at /usr/lib/perl5/site_perl/5.005/Cobalt/Vsite.pm line 51.
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/site_perl/5.005/Cobalt/User.pm line 47.
>
> Can somebody help
>
> TIA,
>
> JEFF

It seems that you don't have the Meta.pm module or it is not in @INC
Try a
# locate Meta.pm
Do you have it? where?
If it is it in
/usr/lib/perl5/5.00503/i386-linux
/usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux
/usr/lib/perl5/site_perl/5.005
I don't know the solution.

If you don't have it you have to install it.

If you have it in outside @INC you have to add this at the beginiing of your
perl script


use lib "directory/Meta.pm";

Hope this help,
Filiberto