mhonarc-dev

Crashing on bad callback

2005-06-05 19:55:08
While working on my callbacks, I noticed that, despite the require()
call in mhasiteinit.pl, if there is a compilation problem in my
callback file, mhonarc still runs, without a peep - leaving me
clueless until I ]$ perl callback_file.pl to see that I introduced a
compile error.

I'm not a Perl junkie, so forgive me for my ignorance: is there a
simple way to say that the callback file should be, um, *require*d,
and that, if it doesn't compile, mhonarc should say so and quit?

(Side note: That is the behavior of require() in PHP.)

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV

<Prev in Thread] Current Thread [Next in Thread>