Rui Fernandes wrote:
> Forgive my honesty, but this mail list looks kind of dead...Well,
> regarding my previous doubts, only the fourth remains - the others I
> already figure them out.

"bless( $hashref, $class )" is as a very low-level object constructor.

This code is creating a DT::TZ::OlsonDB::Observance object, which contains the following private fields:

my $last_observance = bless( {
  'format' => 'WE%sT',
  'gmtoff' => '0:00',
  'local_start_datetime' => $dt,
  'offset_from_std' => 0,
  'offset_from_utc' => 0,
  'until' => [],
  'utc_start_datetime' => $dt,
}, 'DateTime::TimeZone::OlsonDB::Observance' )
;

- Flavio S. Glock

Reply via email to