CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: General Discussions: General Questions: Re: [astrosanthosh] need help in running perl module: Edit Log



FishMonger
Veteran / Moderator

Jul 14, 2013, 8:11 AM


Views: 10851
Re: [astrosanthosh] need help in running perl module

If the fatalsToBrowser line didn't help, then the problem is prior to that statement. I suspect that it's the first use statement.

D:\test>astrosanthosh.pl

Quote
Can't locate Indian.pm in @INC (@INC contains: D:/strawberry/perl/site/lib/MSWin32-x64-multi-thread D:/strawberry/perl/site/lib D:/strawberry/perl/vendor/lib D:/strawberry/perl/lib .) at D:\test\astrosanthosh.pl line 4.
BEGIN failed--compilation aborted at D:\test\astrosanthosh.pl line 4.

If you move the CGI::Carp line up (prior to the package statement), you will get that full error message in the browser.

Why do you have these 2 statements?

Code
package ::Indian; 
use Indian;



(This post was edited by FishMonger on Jul 14, 2013, 8:11 AM)


Edit Log:
Post edited by FishMonger (Veteran) on Jul 14, 2013, 8:11 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives