|
ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages
|
|
This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles. For more information about the manual page format, see the manual page for manpages(5). |
Apache::Include(3) User Contributed Perl Documentation Apache::Include(3)
NAME
Apache::Include - Utilities for mod_perl/mod_include integration
SYNOPSIS
<!--#perl sub="Apache::Include" arg="/perl/ssi.pl" -->
DESCRIPTION
The Apache::Include module provides a handler, making it simple to include Apache::Registry scripts
with the mod_include perl directive.
Apache::Registry scripts can also be used in mod_include parsed documents using 'virtual include'.
METHODS
Apache::Include->virtual($uri)
The "virtual" method may be called to include the output of a given uri in your Perl scripts.
Example:
use Apache::Include ();
print "Content-type: text/html\n\n";
print "before include\n";
my $uri = "/perl/env.pl";
Apache::Include->virtual($uri);
print "after include\n";
SEE ALSO
perl(1), mod_perl(3), mod_include
AUTHOR
Doug MacEachern
perl v5.8.8 2000-03-30 Apache::Include(3)
|
|