On Wed, 30 Jun 2004 11:44:53 -0700 (PDT), Rod Za wrote:
> and the function always returns somethings like this:
> HASH(0x81b99c4)HASH(0x81b988c)HASH(0x814fcf4)HASH(0x81b9c34)HASH(0x81b9afc)HASH(0x81a54f8)
>
> How can i get this results in an human redable mode?
Hello Rod,
to see what's going on in structured data types I strongly recommend the use
of DATA::DUMPER.
Just include the module into your source code and when you print the $jobs you
just change your line to the following:
print Dumper( $jobs{$key} );
The statement will print back the data structure with it's keys, instead of
just giving you the data type and it's position in memory. Once you know which data
key you want to access you can try the following:
print $jobs{$key}->{$data_key};
Hope this helps.
/oliver/
--
"If you believe everything you read, you better not read." -Japanese Proverb
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>