aboutsummaryrefslogtreecommitdiff
path: root/lib/Net/MulkyID/Builder.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Net/MulkyID/Builder.pm')
-rw-r--r--lib/Net/MulkyID/Builder.pm13
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/Net/MulkyID/Builder.pm b/lib/Net/MulkyID/Builder.pm
index bd5058f..2100cf3 100644
--- a/lib/Net/MulkyID/Builder.pm
+++ b/lib/Net/MulkyID/Builder.pm
@@ -10,14 +10,19 @@ sub new {
my ($class, @args) = @_;
my $self = $class->SUPER::new(@args);
return bless $self, $class;
- #my $self = $self->SUPER::new();
- #return $self;
- #return bless {}, shift;
+}
+
+sub ACTION_configure {
+ my ($self, @args) = @_;
+ eval "use Net::MulkyID::Setup; configure();";
+ if ($@) {
+ die $@;
+ }
}
sub ACTION_build {
my ($self, @args) = @_;
- eval "use Net::MulkyID::Setup; setup();";
+ eval "use Net::MulkyID::Setup; build();";
if ($@) {
die $@;
}