debian man page for html::mason::resolver::null

Query: html::mason::resolver::null

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

HTML::Mason::Resolver::Null(3pm)			User Contributed Perl Documentation			  HTML::Mason::Resolver::Null(3pm)

NAME
HTML::Mason::Resolver::Null - a do-nothing resolver
SYNOPSIS
my $resolver = HTML::Mason::Resolver::Null->new;
DESCRIPTION
This HTML::Mason::Resolver subclass is useful if you want to create components via the "HTML::Mason::Interp->make_component" method and you never plan to interact with the filesystem. Basically, it provides all of the necessary resolver methods but none of them do anything. This means that if you use this method things like "$interp->exec" will simply not work at all. However, if you just want to make a component with an interepreter and execute that component it can be useful. For example: my $interp = HTML::Mason::Interp->new( resolver_class => 'HTML::Mason::Resolver::Null', data_dir => '/tmp' ); my $comp = $interp->make_component( comp_source => <<'EOF' ); % my $var = 'World'; Hello, <% $var %>! EOF my $buffer; my $request = $interp->make_request( out_method => $buffer, comp => $comp ); $request->exec; print $buffer;
SEE ALSO
HTML::Mason perl v5.14.2 2012-02-04 HTML::Mason::Resolver::Null(3pm)
Related Man Pages
html::mason::apachehandler(3pm) - debian
html::mason::lexer(3pm) - debian
html::mason::resolver(3pm) - debian
mason::component::moose(3pm) - debian
mason::manual(3pm) - debian
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
How can I do this in VI editor?
Is UNIX an open source OS ?
Detecting unused variables...
Find columns in a file based on header and print to new file