From 9a90b5ef3d8f9572838700fa27ec568d29f76d64 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 10 Aug 2012 12:34:47 -0400 Subject: Standardize constructor code style. --- (limited to 'scripts/MarkdownBook/Document') diff --git a/scripts/MarkdownBook/Document/Index.pm b/scripts/MarkdownBook/Document/Index.pm index e005396..df94305 100644 --- a/scripts/MarkdownBook/Document/Index.pm +++ b/scripts/MarkdownBook/Document/Index.pm @@ -29,7 +29,8 @@ sub new $class = ref($class) || $class; $self = {}; - bless($self,$class); + bless($self, $class); + $self->{'book'} = $book; $self->{'file'} = 'index'; $self->{'title'} = $book->title(); -- cgit v0.9.1