in reply to fetchrow_hashref Confusion

Two excellent specific answers to your question from jeffa and runrig are above. For more background, take a look at perlref and tye's very handy References quick reference.