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

RE: [cobalt-users] Tracking an Error within a Perl script



On Thu, 7 Nov 2002, Ian wrote:

> >   perl -w  YaBB.pl
> >   The 'w' gives diagnostics.
>
> Right, I think I am getting somewhere now, so thanks for the perl -w command,
> this has highlighted something.
>
> It brings up this one items amongst a couple of other minor things i think as
> follows:
>
> Can't locate ./myforum/cgi-bin/yabb/Sources/Subs.pl in @INC (@INC conatins:
> /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
> YaBB.pl line 35.
>

look at line 35
What are you using for an editor, with vi turn line numbers on with :set nu

> That was all one line BTW above.
>
> I have again double and tripple checked that this path is correct and even tried
> placing in an absolute path starting with the /web etc, but without any change
> in the error of cant locate.
>
> Any ideas what this cant locate can mean, is it a perl version problem maybe?
>

it can't find ./myforum/cgi-bin/yabb/Sources/Subs.pl
it can't find Subs.pl

for the absolute path use '/' which is the root of the web folder


Gerald
--
http://frontstreetnetworks.com | http://raqware.com
Front Street Networks LLC  | Phone: +1 203-785-0699
229 Front Street, Ste. C, New Haven, CT. 06513-3203