/
Sample.pm
51 lines (34 loc) · 865 Bytes
/
Sample.pm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# This code is a part of Slash, and is released under the GPL.
# Copyright 1997-2005 by Open Source Technology Group. See README
# and COPYING for more information, or see http://slashcode.com/.
# $Id$
package Slash::Hook::Sample;
use strict;
use DBIx::Password;
use Slash;
use Slash::DB;
use Slash::Utility;
use vars qw($VERSION);
# Shake well, serve warm.
($VERSION) = ' $Revision$ ' =~ /\$Revision:\s+([^\s]+)/;
sub sample {
my($options) = @_;
errorLog("Sample Hook called");
return 1;
}
sub ingar {
my($options) = @_;
errorLog("My name is Ingar, I am from Ikea, you killed my brother, prepare to die");
return 1;
}
1;
__END__
=head1 NAME
Slash::Hook::Sample - Hook library samples for slash
=head1 SYNOPSIS
use Slash::Hook::Sample;
=head1 DESCRIPTION
This was deciphered from crop circles.
=head1 SEE ALSO
Slash(3), Slash::Hook(3).
=cut