Don't ask to ask, just ask | |
PerlMonks |
Re^2: If Not Replaceby Inexistence (Acolyte) |
on Sep 10, 2011 at 14:51 UTC ( [id://925254]=note: print w/replies, xml ) | Need Help?? |
You should not write %myarray because that is a hash, and $myarray0 is refering to @myarray, whereas $myarray{0} is refering to %myarray I was following examples from 'http://oreilly.com/catalog/advperl/excerpt/ch01.html' but I no doubt got them wrong. Thank-you muchly for guiding me re the above variable information. Associative arrays are what I believe i'm use to using in LUA, the hash naming just confuses me atm *bow*
In Section
Seekers of Perl Wisdom
|
|