in reply to hashes of hashes of arrays in subroutine

Almost:
$clocks{$pin_name}{'jit'} = \@jit_values;
You needed to assign an arrayref as value...

Update upon further inspection...
my @jitter_values = $hashref->{'jit'};
should be
my @jitter_values = @{ $hashref->{'jit'} };
What @{ ... } does is dereference the arrayref into an ordinary list.

ar0n ]

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
    Thanks ++:-)

    I guess I still dont fully understand the perl references cause I keep making mistakes like this :-)

    Diarmuid

Re: (ar0n) Re: hashes of hashes of arrays in subroutine
by Anonymous Monk on May 11, 2001 at 21:48 UTC
    Just be aware that taking a reference to the array means that it will always be *THAT* array. If you change the array, you change the thing that's pointing to it. Brackets make a new copy. (see above =o)