The problem I am having is with $full How do I get $login to return its value when I try to assign this scalar $full Thanks in advance #!/util/perl5.static $hostname = qx(/usr/ucb/hostname); chomp $hostname; %hosts = ( crane => "hourihj", runner => "paulg", ice => "root", ); $login = print $hosts{$hostname}; chop $login; #print "$login\n"; $full = qx(ypmatch $login passwd); print $full;Thread Next