Well yes, an array of 3 different widget objects of class Gtk2::Window.
Data::Dumper is trying to represent the input as a string, which can be reversed by evaling it again. (quote: "stringified perl data structures, suitable for both printing and eval" )
Since the name of an object constructor is not fixed in Perl("->new" is only a convention) using bless is the most accurate way to do it.
I just checked there is indeed a new constructor for Gtk2::Window :
http://gtk2-perl.sourceforge.net/doc/pod/Gtk2/Window.html#widget_Gtk2_Window_n
So it might be possible to represent the same information with
$VAR1 = [ Gtk2::Window->new(), Gtk2::Window->new(), Gtk2::Window->new() ]
but to be sure me as a human would need to look up the implementation. Data::Dumper as a piece of code can't do this.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
PS: Not sure what you meant with DSC, in perldsc this stands for Data Structure Cookbook..
In reply to Re: what type of datastructure is this
by LanX
in thread what type of dsc is this
by navalned
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |