diff options
| author | Paul Buetow <paul@buetow.org> | 2011-04-26 18:55:42 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2011-04-26 18:55:42 +0000 |
| commit | 67855afa02636e06b142c706487c5eb23efc5e8c (patch) | |
| tree | 8e357ebd18427cfc86453e0f7996d7fc88c4f96e /Xerl/Page/Document.pm | |
| parent | 411f4c0227f280e1a412b825ad82b189017e6795 (diff) | |
added initial fcgi support to all the code files
Diffstat (limited to 'Xerl/Page/Document.pm')
| -rw-r--r-- | Xerl/Page/Document.pm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Xerl/Page/Document.pm b/Xerl/Page/Document.pm index e2aacb1..13a8254 100644 --- a/Xerl/Page/Document.pm +++ b/Xerl/Page/Document.pm @@ -62,8 +62,11 @@ sub parse($) { my Xerl::Tools::FileIO $io = Xerl::Tools::FileIO->new( path => $path ); - $io->fslurp(); - $io->print(); + if (-1 == $io->fslurp()) { + $config->set_shutdown(1); + } else { + $io->print(); + } return undef; } |
