]> git.mjollnir.org Git - cil.git/commitdiff
Add the updates for CIL::Comment
authorAndrew Chilton <andychilton@gmail.com>
Sat, 19 Apr 2008 13:13:11 +0000 (01:13 +1200)
committerAndrew Chilton <andychilton@gmail.com>
Sat, 19 Apr 2008 13:13:11 +0000 (01:13 +1200)
lib/CIL/Comment.pm

index 9bda63a11c57b48e466a73301874b684caadeea8..5c945cdb1878ff77f710bfb3f1651e49d9d2d435 100644 (file)
@@ -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;
 ## ----------------------------------------------------------------------------