Others have given some good explainations, no need to repeat them. But here are two tips: Data::Dumper is your friend, and you can use print statements to help tease apart these statements.
at the start of your code, and then add a line like:use Data::Dumper;
You'll get a nice printout of the data structure and its contents. By the way, the backslash returns a reference to the variable it precedes.print Dumper(\%students);
TGI says moo
In reply to Re: help w/hash arrays
by TGI
in thread help w/hash arrays
by leegold
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |