Then your first step should be to identify the "one print" and split it up into two separate print statements. For example,
print %s
could be changed into a loop over the hash keys:
for my $key (keys %s) { print "Key: %key, Value: $s{ $key }\n"; };
In reply to Re^3: $mech help
by Corion
in thread $mech help
by helpme123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |