Think about Loose Coupling | |
PerlMonks |
Re: WHAT IS WRONG TO PASS PARAMETER TO THE ARRAY?by n3toy (Hermit) |
on Aug 05, 2009 at 11:54 UTC ( [id://786071]=note: print w/replies, xml ) | Need Help?? |
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)
In Section
Seekers of Perl Wisdom
|
|