in reply to Weird Error

Don't forget the 1 on the end.

Sorry if this is too obvious, but you mention that the config component returns not true. A quick look at require will show that:

The file must return TRUE as the last statement to indicate successful execution of any initialization code, so it's customary to end such a file with `` 1;'' unless you're sure it'll return TRUE otherwise. But it's better just to put the ``1;'', in case you add more statements."

Which would be tricky to deduce, i agree, but not hard to look up...

Replies are listed 'Best First'.
Re: Re: WIERD ERROR
by Anonymous Monk on Jun 06, 2001 at 22:17 UTC
    the require is a config.pl (pathed of course) and works on other machines, just not this one ... BSDI UNIX box
Re: Re: WIERD ERROR
by Anonymous Monk on Jun 06, 2001 at 22:59 UTC
    Removing and adding back the 1; did the trick Works fine now Thanks! Doc