in reply to hashes of hashes of arrays in subroutine
You needed to assign an arrayref as value...$clocks{$pin_name}{'jit'} = \@jit_values;
should bemy @jitter_values = $hashref->{'jit'};
What @{ ... } does is dereference the arrayref into an ordinary list.my @jitter_values = @{ $hashref->{'jit'} };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (ar0n) Re: hashes of hashes of arrays in subroutine
by diarmuid (Beadle) on May 11, 2001 at 19:03 UTC | |
|
Re: (ar0n) Re: hashes of hashes of arrays in subroutine
by Anonymous Monk on May 11, 2001 at 21:48 UTC |