Robert Landrum wrote:
> I would use Data::Dumper; warn(Dumper([EMAIL PROTECTED])); and see what's in 
> the logs.

Thanks for your hint. DataDumper says:

(eval): MyProvider MyGroup attrList=HASH(0x517834)
$VAR1 = \'MyProvider';
$VAR1 = \'MyGroup';
$VAR1 = \bless( {
                   'listItem' => [
                                 bless( {
                                          'attrVal' => 'Wert1',
                                          'attrName' => 'Attribute1'
                                        }, 'attrItem' ),
                                 bless( {
                                          'attrVal' => 'Wert2',
                                          'attrName' => 'Attribute2'
                                        }, 'attrItem' )
                               ]
                 }, 'attrList' );

But I still can't figure out how to process the data in my handler.

The first two Parameters are trivial ($_[1] and $_[2]). If I try
to access the third value (see first line -> attrList=HASH(...))
I only retrieve an empty hash.

Correct me if I'm wrong, but I understand the above list as follows:

The hash with name attrList contains the key listItem with an anonymous
array as value. The array itself contains two hashes each with the two
keys attrVal and attrName.

How can I access these values?

Thanks a lot.

Tobias

Reply via email to