gem555 has asked for the wisdom of the Perl Monks concerning the following question:
This gives the value is unitialized. warning message. I want to print the values for the key "correct". Please help mefor my $data_pair (@data_list) { print "The value is $data_pair->{'correct'}\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Associative array
by moritz (Cardinal) on Jul 13, 2009 at 06:17 UTC | |
by gem555 (Acolyte) on Jul 13, 2009 at 06:21 UTC | |
by moritz (Cardinal) on Jul 13, 2009 at 06:25 UTC | |
|
Re: Associative array
by Polyglot (Chaplain) on Jul 13, 2009 at 06:29 UTC | |
|
Re: Associative array
by ELISHEVA (Prior) on Jul 13, 2009 at 06:50 UTC | |
by BrowserUk (Patriarch) on Jul 13, 2009 at 07:07 UTC | |
by ELISHEVA (Prior) on Jul 13, 2009 at 08:09 UTC | |
by tilly (Archbishop) on Jul 13, 2009 at 09:57 UTC | |
by Anonymous Monk on Jul 13, 2009 at 10:04 UTC | |
by ELISHEVA (Prior) on Jul 13, 2009 at 11:59 UTC | |
| |
by BrowserUk (Patriarch) on Jul 13, 2009 at 14:34 UTC | |
by ELISHEVA (Prior) on Jul 14, 2009 at 05:46 UTC | |
|