/usr/lib/perl5/OW.pm is in libow-perl 2.8p15-1ubuntu4.
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 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.11
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
package OW;
use base qw(Exporter);
use base qw(DynaLoader);
package OWc;
bootstrap OW;
package OW;
@EXPORT = qw();
# ---------- BASE METHODS -------------
package OW;
sub TIEHASH {
my ($classname,$obj) = @_;
return bless $obj, $classname;
}
sub CLEAR { }
sub FIRSTKEY { }
sub NEXTKEY { }
sub FETCH {
my ($self,$field) = @_;
my $member_func = "swig_${field}_get";
$self->$member_func();
}
sub STORE {
my ($self,$field,$newval) = @_;
my $member_func = "swig_${field}_set";
$self->$member_func($newval);
}
sub this {
my $ptr = shift;
return tied(%$ptr);
}
# ------- FUNCTION WRAPPERS --------
package OW;
*version = *OWc::version;
*init = *OWc::init;
*get = *OWc::get;
*put = *OWc::put;
*finish = *OWc::finish;
*set_error_print = *OWc::set_error_print;
*get_error_print = *OWc::get_error_print;
*set_error_level = *OWc::set_error_level;
*get_error_level = *OWc::get_error_level;
*opt = *OWc::opt;
# ------- VARIABLE STUBS --------
package OW;
1;
our $VERSION='2.8p15' ;n
|