In Data::Dumper's output, bless signifies a blessed reference. Have a look at this example:

use strict; use warnings; use DateTime; use Data::Dumper; my $t = DateTime->now; print Dumper $t;
which creates this output:
$VAR1 = bless( { 'local_rd_secs' => 25639, 'local_rd_days' => 735072, 'rd_nanosecs' => 0, 'locale' => bless( { 'default_time_format_length' => +'medium', 'native_territory' => 'United St +ates', 'native_language' => 'English', 'native_complete_name' => 'Engli +sh United States', 'en_language' => 'English', 'id' => 'en_US', 'default_date_format_length' => +'medium', 'en_complete_name' => 'English U +nited States', 'en_territory' => 'United States +' }, 'DateTime::Locale::en_US' ), 'local_c' => { 'hour' => 7, 'second' => 19, 'month' => 7, 'quarter' => 3, 'day_of_year' => 204, 'day_of_quarter' => 23, 'minute' => 7, 'day' => 23, 'day_of_week' => 2, 'year' => 2013 }, 'utc_rd_secs' => 25639, 'formatter' => undef, 'tz' => bless( { 'name' => 'UTC' }, 'DateTime::TimeZone::UTC' ), 'utc_year' => 2014, 'utc_rd_days' => 735072, 'offset_modifier' => 0 }, 'DateTime' );

This tells you that $t is a blessed hash reference with classname DateTime. The hash itself contains all the members of the class some of which again are blessed hash references (like locale and tz) of different types (classes).

In the structure you have posted, it seems that the class BLOCK has elements that are blocks themselves, like BLOCKs of BLOCKs. In a way this is not much different from arrays of arrays.


In reply to Re: Nested Bless within Hash of Arrays by hdb
in thread Nested Bless within Hash of Arrays by ksublondie

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.