Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello, most erudite monks,
I'm just a beginner, so this is probably a dumb question. I'm trying to print out each value of an array. The problem is, the array is inside a hash called %results. To get to that array I use $results{$key}.When I try to run the program, it prints out something like this: ARRAY(0x1aada0c)for each $line ($results{$key}) { print "\t$line\n"; }
What am I doing wrong?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Easy question
by jettero (Monsignor) on Jul 29, 2009 at 18:09 UTC | |
|
Re: Easy question
by lostjimmy (Chaplain) on Jul 29, 2009 at 18:46 UTC | |
|
Re: Easy question
by mzedeler (Pilgrim) on Jul 29, 2009 at 19:57 UTC |