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]
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
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
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($
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
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