in reply to Re: If Not Replace
in thread If Not Replace
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*
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: If Not Replace
by davido (Cardinal) on Sep 10, 2011 at 16:43 UTC | |
by Inexistence (Acolyte) on Sep 10, 2011 at 18:05 UTC | |
by chromatic (Archbishop) on Sep 10, 2011 at 19:18 UTC | |
by davido (Cardinal) on Sep 11, 2011 at 00:24 UTC | |
by Inexistence (Acolyte) on Sep 10, 2011 at 19:54 UTC | |
by davido (Cardinal) on Sep 10, 2011 at 19:59 UTC |