A potential useful change to mhastart.pl is to wrap the requiring of mhamain.pl in an eval block:
eval { require 'mhamain.pl'; }; if ($@) { die "Unable to require 'mhamain.pl': [EMAIL PROTECTED]", "[EMAIL PROTECTED] = (\n", join("\n", @INC), ")\n"; }
This way the value of @INC is dumped during the error so one gets an idea where to look for mhamain.pl. And, if the error indicates that mhamain.pl was not found, then @INC can be examined to make sure $lib was set properly.
That sounds like a good idea. But in this case, considering the error message "mhamain.pl did not return a true value", the problem can't reasonably be that mhamain.pl wasn't found at all, can it?
-- Gunnar Hjalmarsson Email: http://www.gunnar.cc/cgi-bin/contact.pl
--------------------------------------------------------------------- To sign-off this list, send email to [EMAIL PROTECTED] with the message text UNSUBSCRIBE MHONARC-USERS