Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The answer I get back is "1". Huh? I want an array with two elements each of which is an anonymous array. What am I doing wrong? Adammy @attrvals = (["customer", "20528"], ["priority", "3"]); print length(@attrvals);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Simple array question
by thraxil (Prior) on Dec 22, 2003 at 17:04 UTC | |
|
Re: Simple array question
by BrowserUk (Patriarch) on Dec 22, 2003 at 17:09 UTC | |
|
Re: Simple array question
by davido (Cardinal) on Dec 22, 2003 at 17:21 UTC | |
|
Re: Simple array question
by Roger (Parson) on Dec 23, 2003 at 01:01 UTC |