General discussion

Locked

perl error

By tri ·
I have a script and run it on linux and it in perl. When I run it give me this error, can any one tell me what wrong PLEASE Help:

<<Begin Error Log>>
Can't locate abc.conf in @INC (@INC contains:
/usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux
/usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at team.cgi
line 3.
BEGIN failed--compilation aborted at team.cgi line 6.
Premature end
of script headers: /cgi-bin/team.cgi
<<End Error Log Event>>

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

perl error

by gmichaels In reply to perl error

Somewhere you are referencing or calling a module abc.conf. @INC is an array of library pathc that perl will search to resolve the reference. Its equivalent to your PATH in DOS or UNIX or a classpath in java. If you don't know what abc.conf is then perhaps your Perl installation is missing some dependent modules. I am not familiar with that reference so it could be more specific to ypur app like a missing use lib ie. use lib ("/home/hkygods/prod/lib"); or a missing use ie. use Scripts::Generic;on a dependent module. The use lib statement adds libraries to the search path in @INC. When I see conf I think of config or configuration.

Collapse -

perl error

by tri In reply to perl error

Poster rated this answer

Collapse -

perl error

by tri In reply to perl error

This question was closed by the author

Back to Linux Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums