> My best guess is an array of blessed hashes

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.

edit

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

update

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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.