Hi all, I know how to print the contents of a hash, but what if I wanted to print the keys themselves that the hash is called from (delimited by tabs)?
This is how I print the contents of a hash (Thanks to Brett W. McCoy):
%params = qw(
i01 4
i02 5
i03 2
);
foreach (sort keys %params) { print "\t$params{$_}" }
cheers,
-Shannon
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
