OK, I coded the following which seems to work - although I'm quite sure why it works:
my %hash ;
$title = 'engineer' ;
$num = 23.4 ;
$userid = 'ewh1234' ;
@linx2 = (1, 2, 3) ;
$hash{$userid} = [$title, $num, $linx2[0], $linx2
1, $linx
2];
print "@{$hash{$userid}}\n" ;
print "$hash{$userid}
4\n" ;
which produces:
engineer 23.4 1 2 3
3
I have to learn more about hashes versus arrays -
thanks for your help...