Object oriented module is not an Exporter. 2 subs added, also.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
ba673bcc43
commit
2cc75039d8
1 changed files with 11 additions and 2 deletions
|
@ -8,7 +8,7 @@ package Sip::Configuration::Institution;
|
|||
use strict;
|
||||
use warnings;
|
||||
use English;
|
||||
use Exporter;
|
||||
# use Exporter;
|
||||
|
||||
sub new {
|
||||
my ($class, $obj) = @_;
|
||||
|
@ -24,8 +24,17 @@ sub new {
|
|||
|
||||
sub name {
|
||||
my $self = shift;
|
||||
|
||||
return $self->{name};
|
||||
}
|
||||
|
||||
sub policy {
|
||||
my $self = shift;
|
||||
return $self->{policy};
|
||||
}
|
||||
|
||||
sub parms {
|
||||
my $self = shift;
|
||||
return $self->{parms};
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
Loading…
Reference in a new issue