Noah:
sub exiting { my ($hostname, %login) = @_;
Passing arguments like this has no such problem. But you'd better pass the hash as a reference to the subroutine. exitint($hostname, \%login); sub exiting { my $hostname = shift; my %login = %{+shift}; ... }
print "login: $login $hostname\n";
I don't see where you defined the variable of $login. Have you 'use strict' and 'use warnings'? -- Jeff Pang http://home.arcor.de/pangj/ -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/