>>>>> "MR" == Michael Richardson <mcr@sandelman.ocunix.on.ca> writes:
MR> It is not clear to me where the &main'new_keyword should go. I'm
MR> putting it at the end of majordomo.pl, but this does not seem quite
MR> right...
Why not? That's where I put them. majordomo.pl gets require'd at the
beginning of everything; it's the central repository for common functions.
I guess you have the problem that other programs like resend end up having
to parse and compile the code, even when they don't need it.
Actually, I'm inclined to have a 'require user_defs.pl' at the head the
files that would use it. It would default to a file containing "1;". This
would let anyone add the code for new keywords without modifying as many
files (which is a pain at patch/upgrade time).
I wonder what happened to that wonderful idea of adding new keywords
without modifying the source at all? I think that was one of the dreams
for 2.0.
--
Jason L. Tibbitts III - tibbs@uh.edu - 713/743-8684 - 221SR1
System Manager: University of Houston High Performance Computing Center
1994 PC800 "Kuroneko" DoD# 1723
References:
-
majorcool
From: Michael Richardson <mcr@sandelman.ocunix.on.ca>
|
|