From e69a09d0762e562658e200e581c038b00ccaa445 Mon Sep 17 00:00:00 2001 From: "Difrex(Denis Zheleztsov)" Date: Thu, 7 Aug 2014 22:21:16 +0400 Subject: [PATCH] Reload function --- II/Config.pm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/II/Config.pm b/II/Config.pm index dfad5d0..145963f 100644 --- a/II/Config.pm +++ b/II/Config.pm @@ -14,6 +14,7 @@ sub new { return $self; } +# Load configuration sub load { my ($self) = @_; my $config = $self->{_config}; @@ -35,4 +36,11 @@ sub load { return $c; } +# Reload configuration +sub reload { + my ($self) = @_; + + return II::Config->load(); +} + 1;