&My::Web::footer call is deprecated now, use just: exit;
[www.jankratochvil.net.git] / project / captive / doc / Index.pm
index a424be9..bc982a4 100755 (executable)
@@ -24,12 +24,11 @@ use strict;
 use warnings;
 
 use My::Web;
-require CGI;
-BEGIN { Wuse 'project::captive::doc::Macros'; }
 
 
 sub handler
 {
+       BEGIN { Wuse 'project::captive::doc::Macros'; }
 project::captive::doc::Macros->init(
                "title"=>'Captive NTFS Developer Documentation',
                "rel_next"=>'About.pm',
@@ -159,6 +158,6 @@ print <<"HERE";
 HERE
 
 
-project::captive::doc::Macros->footer();
+exit;
 }
 1;