Hi,

        foreach my $ref (\%Hash1, \%Hash2, \%Hash3) {
                while(my ($key, $value) = each(%$ref)) {
                        debug ("$key -> $value")
                }
        }

I'd like to prefix the name of the hash for the elements in my
debug(...).
How to get the name of what $ref is actually pointing at currenty
(%Hash1, Hash2, Hash3)?

- thanks!

rgds!

Frank


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to