Disregard this first message my web based mail client was acting up, the
other message is much more informative, sorry,
http://danconia.org
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
'View2-1', 'Title2-1' ],
[ '#2-2', 'View2-2', 'Title2-2' ],
...,
],
...,
);
This will build the structure you describe, where each hash key has a
value that is an
],
> ); # data simplified and other keys removed...
>
As your questions below state the above "lists" are getting flattened
into one array. You need to reuse [] to build anonymous array
references like you did in the outer structure. So you end up with:
ct Information', 'Contact
Information'),
('#', 'View the Job Log', 'Job Log'),
('#', 'View the Client Assets', 'Client Assets'),
('#', 'View Press Releases', 'Press Releases')
On Friday, July 5, 2002, at 08:31 , Connie Chan wrote:
[..]
> If you want to know what 'fields' inside %Data :
> @DataKeys = keys(%Data);
> print "@DataKeys"; # So you get "Code, Birth, Name"...
> # However, the elements order in @DataKeys is not base
> #on how's the order you create your key fie
ot;; # So you get "Code, Birth, Name"...
# However, the elements order in @DataKeys is not base
#on how's the order you create your key field in %Data.
If you want to know how many elements inside @DataKeys :
$total = $#DataKeys;
print $total;
rgds,
Connie
- Orig
Hi,
I've read http://webmaster.indiana.edu/perl56/pod/perllol.html and
this cleared some points. :)
still I do have some problems... the assignment of values to arrays
in arrays works, but I gave the arrays in the array names:
@array = \(@names, @school, @othercrap);
so $array[2][3] woul
PROTECTED]]
> Sent: Friday, July 05, 2002 8:32 AM
> To: [EMAIL PROTECTED]
> Subject: array of arrays
>
>
> Hi,
>
> I have a simple question: how do I access an array in an array?
>
> @array = (@array1, array2); ### unless this is wrong...
>
>
> the
Hi,
I have a simple question: how do I access an array in an array?
@array = (@array1, array2); ### unless this is wrong...
the idea behind it is, that I have a long list, and want to put all
25 entries in a seperate array in that big array. later on I want to
be able to read one speci