The line that has the assignment to $MSGFUNCS{'registry-name'} is the
key to the registry mechanism. It's what track the registry name to the
your check function.
# Message function for Teletouch pagers using e-mail delivery
# but using the e-mail mini status function instead. This is a
$MSGFUNCS{'teletouch_short'} = \&msg_teletouch_short;
sub msg_teletouch_short {
my ($pager) = @_;
&email_mini_status("$pager\@pageme.teletouch.com",'shortsubject');
&debug( "teletouch short page sent to $pager"
);
}
# Required because I'm included perl code
1;
Please note the final line. It is always required for a module file.