The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Apache::Wyrd::Lib - Insert data from a file, as in SSI

SYNOPSIS

        <BASENAME::Lib file="libraryfile.html" />

DESCRIPTION

Wyrd equivalent of a simple Server-Side-Include. Inserts a file from the <DOCUMENTROOT>/lib/ directory into the HTML document at that point. Uses Apache::Wyrd::Services::FileCache to reduce disk accesses.

HTML ATTRIBUTES

file

The file to insert.

PERL METHODS

NONE

BUGS/CAVEATS/RESERVED METHODS

Reserves the _format_output method. Consider limiting the /lib/ directory access via a server directive.

AUTHOR

Barry King <wyrd@nospam.wyrdwright.com>

SEE ALSO

Apache::Wyrd

General-purpose HTML-embeddable perl object

LICENSE

Copyright 2002-2007 Wyrdwright, Inc. and licensed under the GNU GPL.

See LICENSE under the documentation for Apache::Wyrd.