in reply to Re: hashes,references and subroutines
in thread hashes,references and subroutines
and got loads offoreach my $key (sort keys %clocks){ print_clock_assertions({ $clocks{$key} }); #line 32 } sub print_clock_assertions { my($hashref)=$_[0]; print STDOUT "ref 1 :$hashref->{'speed'}\n"; #line 44 }
does $hashref contain the has reference when I do this?Odd number of elements in hash assignment at parse_timing_info.pl line + 32. Use of uninitialized value in concatenation (.) at parse_timing_info.p +l line 44. ref 1 :
PS Why how do stop the square bracket being removed?
Edit: chipmunk 2001-04-19
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: hashes,references and subroutines
by busunsl (Vicar) on Apr 19, 2001 at 17:07 UTC |