Re: Ticked Off..

2003-11-22 Thread R. Joseph Newton
Eric Walker wrote: > I got it thanks. I see my mistake.. > wow this list is nice.. > > Thanks again > newbie Great. Would you care to tell us what you came up with that worked? Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Ticked Off..

2003-11-21 Thread Eric Walker
I got it thanks. I see my mistake.. wow this list is nice.. Thanks again newbie On Fri, 2003-11-21 at 14:10, Eric Walker wrote: OK hash should look like this. M ->anonhash a -> value; b-> value; c-> value; does that he

RE: Ticked Off..

2003-11-21 Thread Eric Walker
OK hash should look like this. M ->anonhash a -> value; b-> value; c-> value; does that help? On Fri, 2003-11-21 at 14:04, Bob Showalter wrote: Eric Walker wrote: > Hey all I know I have been told but I can't seem to access this hash. > Can

RE: Ticked Off..

2003-11-21 Thread Bob Showalter
Eric Walker wrote: > Hey all I know I have been told but I can't seem to access this hash. > Can anyone look and see why I can't print out any values. The print > item statement works and prints out the first level of the hash. > I send in a pointer to $data and $rule. > > sub COMMENTSYNC{ > my($

Re: Ticked Off..

2003-11-21 Thread Joshua Colson
It looks to me like you're trying to dereference the wrong hash. Try this... sub COMMENTSYNC { my($rule,$data) = @_; my($crule,$temp,@map,$count); foreach my $item ( keys %{$data} ) { print ${$item}{'rule_desc'} . "\n"; } } If the $data is a reference to a hash of hashes, then when t

Ticked Off..

2003-11-21 Thread Eric Walker
Hey all I know I have been told but I can't seem to access this hash. Can anyone look and see why I can't print out any values. The print item statement works and prints out the first level of the hash. I send in a pointer to $data and $rule. sub COMMENTSYNC{ my($rule,$data) = @_; my($crule,$temp