diff options
Diffstat (limited to 'INF.pm')
-rw-r--r-- | INF.pm | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2,6 +2,7 @@ package INF; use INF::APC; use INF::DSRx020; use INF::ILO; +use INF::ILO2; #$infs = [ @@ -30,9 +31,10 @@ sub new ($;$) { } elsif ( $inf->{inf_type} eq 'apc' ) { return INF::APC->new($inf); - } - elsif ( $inf->{inf_type} eq 'ilo' ) { + } elsif ( $inf->{inf_type} eq 'ilo' ) { return INF::ILO->new($inf); + } elsif ( $inf->{inf_type} eq 'ilo2' ) { + return INF::ILO2->new($inf); } else { return undef; |