in reply to Working through it...
Expected array: (I hand typed this, but it should be close)
You hand typed nonsense (or possibly Lua) :) that is not perl syntax!!!
In perl, associative arrays are called hash, and named starting with % character and are accessed using { } not [ ]
Regular arrays, non-associative arrays, are called array, and named starting with @ character and are accessed using [ ] not { }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Working through it...
by Inexistence (Acolyte) on Sep 10, 2011 at 23:07 UTC | |
by chromatic (Archbishop) on Sep 10, 2011 at 23:13 UTC |