|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re: How do I create a new array in memory?by btrott (Parson) |
| on Jun 26, 2000 at 22:03 UTC ( [id://19929]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
You need to declare the variable lexically with my:
You can test this by printing out the array references; they should all have different addresses:
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||