/usr/lib/perl5/Ekg2.pm is in ekg2-scripting-perl 1:0.3.1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | #
# Perl interface to irssi functions.
#
package Ekg2;
use strict;
use Carp;
use vars qw($VERSION $in_ekg2 @ISA @EXPORT @EXPORT_OK);
sub in_ekg2 {
return $in_ekg2;
}
$VERSION = "0.9";
require Exporter;
require DynaLoader;
@ISA = qw(Exporter DynaLoader);
@EXPORT = qw( EKG_MSGCLASS_SENT EKG_MSGCLASS_SENT_CHAT
EKG_NO_THEMEBIT WATCH_READ WATCH_READ_LINE WATCH_WRITE
PLUGIN_UI PLUGIN_PROTOCOL
);
my $static = 0;
eval {
$static = Ekg2::Core::is_static();
};
$in_ekg2 = $@ ? 0 : 1;
if (!in_ekg2()) {
print "Warning: This script should be run inside Ekg2!!!!111\n";
return 0;
} else {
bootstrap Ekg2;
Ekg2::init();
# Ekg2::EXPORT_ALL();
Ekg2::debug("Ekg2.pm loaded, enjoy!\n");
return 1;
};
|