in reply to WHAT IS WRONG TO PASS PARAMETER TO THE ARRAY?
In line 4 you are assigning an array of hashes to @partofcookie, then in line 5 you are assigning a variable to @partofcookie, overwriting your original array of hashes.
(Also, no need to include the line numbers, see Writeup Formatting Tips)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: WHAT IS WRONG TO PASS PARAMETER TO THE ARRAY?
by Bloodnok (Vicar) on Aug 05, 2009 at 12:09 UTC | |
by n3toy (Hermit) on Aug 05, 2009 at 12:16 UTC | |
by Anonymous Monk on Aug 05, 2009 at 14:59 UTC |