From: Andrew Chilton Date: Sat, 19 Apr 2008 13:13:11 +0000 (+1200) Subject: Add the updates for CIL::Comment X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=20267d8af37709eb13639d3c155b264adfef53bc;p=cil.git Add the updates for CIL::Comment --- diff --git a/lib/CIL/Comment.pm b/lib/CIL/Comment.pm index 9bda63a..5c945cd 100644 --- a/lib/CIL/Comment.pm +++ b/lib/CIL/Comment.pm @@ -3,8 +3,23 @@ package CIL::Comment; use strict; use warnings; +use Config::IniFiles; + use base qw(CIL::Base); +## ---------------------------------------------------------------------------- + +sub new { + my ($proto) = @_; + my $class = ref $proto || $proto; + my $self = {}; + $self->{data} = {}; + $self->{Changed} = 0; + bless $self, $class; + $self->inserted; + return $self; +} + ## ---------------------------------------------------------------------------- 1; ## ----------------------------------------------------------------------------