GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Gantry::Utils::PODViewer(3) User Contributed Perl Documentation Gantry::Utils::PODViewer(3)

Gantry::Utils::PODViewer - PODViewer application

This module is a POD viewing application. The module expects only the path to an installed Perl module.

If the deployment method is mod_perl:

   <Perl>
     use Gantry::Utils::PODViewer qw/-Engine=MP20 -TemplateEngine=TT
         -PluginNamespace=podviewer/;
   </Perl>

   <Location /pod/gantry>
     PerlSetVar pod_dir '/usr/lib/perl5/site_perl/5.8.5/Gantry'
     PerlSetVar app_rootp '/pod/gantry'
     PerlSetVar template_wrapper 'pod_wrapper.tt'
     PerlSetVar css_rootp '/style'
     PerlSetVar img_rootp '/images'

     SetHandler perl-script
     PerlHandler Gantry::Utils::PODViewer

   </Location>

On the other hand, if the deployment method is CGI:

   #!/usr/local/bin/perl
   use strict;

   use CGI::Carp qw(fatalsToBrowser);
   use Gantry::Utils::PODViewer qw( -Engine=CGI -TemplateEngine=TT );
   use Gantry::Engine::CGI;

   my $cgi = Gantry::Engine::CGI->new( {
     locations => {
       '/'        => 'Gantry::Utils::PODViewer',
     },
     config => {
       pod_dir        => '/home/gantry/perl/lib/lib/Gantry',
       app_rootp      => '/cgi-bin/gantry.cgi',
       root           => '/home/gantry/templates',
       template_wrapper => 'pod_wrapper.tt',
     }
   } );

   $cgi->dispatch;

do_main
init
namespace

Tim Keefer <tkeefer@gmail.com>

Copyright (c) 2005-6, Tim Keefer.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.

2022-04-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.