Koha/C4/SIP/Sip/Configuration/Service.pm
Joe Atzberger (siptest 5671608e13 Object oriented module is not an Exporter.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-06-05 22:43:40 -05:00

25 lines
304 B
Perl

#
#
#
#
package Sip::Configuration::Service;
use strict;
use warnings;
use English;
# use Exporter;
sub new {
my ($class, $obj) = @_;
my $type = ref($class) || $class;
if (ref($obj) eq "HASH") {
# Just bless the object
return bless $obj, $type;
}
return bless {}, $type;
}
1;