Eve::TemplateStub - a stub class that replaces the template class with a mock.
use Eve::TemplateStub; use Eve::Template; my $mocked_template = Eve::Template->new( path => $path_string, compile_path => $compile_path_string, expiration_interval => $interval_value); my $output = $template->process( file => $file_name, var_hash => $var_hash);
Eve::TemplateStub is a class that provides a mocked template object with limited stubbed templating functionality..
Returns a mocked Eve::Template object.
Copyright 2010-2013 Sergey Konoplev, Igor Zinovyev.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Eve, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Eve
CPAN shell
perl -MCPAN -e shell install Eve
For more information on module installation, please visit the detailed CPAN module installation guide.