jerzy has asked for the wisdom of the Perl Monks concerning the following question:

Hello,
I know this will be simple for you guys, but I always have trouble with dereferencing references.

So here is the code:
use Data::Dumper; print Dumper($var);
And the result:
Tk::Label=HASH(0x138f21c)$VAR1 = bless( { '_TkValue_' => '.frame1.label' }, 'Tk::Label' );
I want to create new variable that will contain string ".frame1.label".

Thanks for any help
Regards,
Jerzy

Replies are listed 'Best First'.
Re: Get data from data structure (references and Tk related)
by Anonymous Monk on Jul 02, 2011 at 17:28 UTC