From: Tyler Riddle Date: Wed, 7 Nov 2012 02:22:38 +0000 (-0800) Subject: update s-i bin to use router() instead of get_router() X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5e0a5500df45cb676fe495e38aad6383f1796af4;p=scpubgit%2FSystem-Introspector.git update s-i bin to use router() instead of get_router() --- diff --git a/bin/system-introspector b/bin/system-introspector index 2747196..f3f186d 100755 --- a/bin/system-introspector +++ b/bin/system-introspector @@ -6,7 +6,7 @@ use Pod::Usage; use System::Introspector::State; use File::Tree::Snapshot; use System::Introspector::Config; -use System::Introspector::Logger qw(:log get_router); +use System::Introspector::Logger qw(:log router); use System::Introspector::Logger::VerboseOutput; use System::Introspector::Logger::Output; use System::Introspector::Logger::WarnOutput; @@ -42,7 +42,7 @@ if (defined($log_level)) { level_names => Object::Remote::Logging::arg_levels(), ); - get_router()->connect(sub { + router()->connect(sub { return unless $_[1]->{controller} eq 'System::Introspector::Logger'; if (! defined $log_remote && defined $_[1]->{object_remote}) { return;