Template-LiquidX-Tidy
view release on metacpan or search on metacpan
lib/App/LiquidTidy.pm view on Meta::CPAN
5678910111213141516171819202122232425our
$VERSION
=
'0.03'
;
use
Template::Liquid;
sub
new (
$class
,
$args
) {
bless
$args
=>
$class
}
sub
run (
$self
) {
die
"No file name specified\n"
unless
$self
->{file};
my
$fh
;
if
(
$self
->{file} eq
'-'
) {
$fh
=
*STDIN
;
}
else
{
open
$fh
,
'<'
,
$self
->{file} or
die
"Error opening $self->{file}: $!\n"
;
lib/Template/LiquidX/Tidy/Tag/include.pm view on Meta::CPAN
4567891011121314151617181920212223use
warnings;
our
$VERSION
=
'0.03'
;
#sub conditional_tag { }
sub
import
{ Template::Liquid::register_tag(
'include'
) }
sub
new (
$class
,
$args
) {
bless
$args
=>
$class
}
1;
=head1 NAME
Template::LiquidX::Tidy::Tag::include - This is a DUMMY tag to support include
=head1 SYNOPSIS
lib/Template/LiquidX/Tidy/Tag/post_url.pm view on Meta::CPAN
( run in 0.242 second using v1.01-cache-2.11-cpan-fd5d4e115d8 )