Template-LiquidX-Tidy

 view release on metacpan or  search on metacpan

lib/App/LiquidTidy.pm  view on Meta::CPAN

5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
use experimental 'signatures';
 
our $VERSION = '0.03';
 
 
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

4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
use experimental 'signatures';
 
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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
 
use strict;
use experimental 'signatures';
 
#sub conditional_tag { }
sub import { Template::Liquid::register_tag('post_url') }
sub new ($class, $args) {
    bless $args => $class
}
 
1;
 
=head1 NAME
 
Template::LiquidX::Tidy::Tag::post_url - This is a DUMMY tag to support post_url
 
=head1 SYNOPSIS



( run in 0.242 second using v1.01-cache-2.11-cpan-fd5d4e115d8 )