sub reload_sites { while ($site = shift) { local ($remote_site); for $remote_site (@{$valid_site{lc($site)}}) { print "BLAH BLAH $valid_site{$site}\n"; print "\n" if $DEBUG; print "First, checking superd's status before we go willy-nilly:\n" if $DEBUG; print scalar localtime(time) . ": "; print "\nREMOTE SITE: $remote_site \n"; if (check_current_status($remote_site)) { print "SuperD on $remote_site looks good...\n" if $DEBUG; print "Executing ISFload on site $remote_site...\n"; } } } }