checkStatus($router->{routerName}, $ssh); #### sub checkStatus { my ($routerName, $ssh) = @_; ...