| 1 | 407 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | |||
| 3 | package HTML::FormFu::Literal; | ||
| 4 | 407 | $HTML::FormFu::Literal::VERSION = '2.06'; | |
| 5 | 407 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 407 | ▶ | use HTML::FormFu::Constants qw( $EMPTY_STR ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | use overload | ||
| 10 | 102 | ▶ | '""' => sub { return join $EMPTY_STR, @{ $_[0] } }, |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 11 | 407 | ▶ | fallback => 1; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | |||
| 13 | sub new { | ||
| 14 | 70 | ▶ | my $class = shift; |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 15 | |||
| 16 | 70 | return bless \@_, $class; | |
| 17 | } | ||
| 18 | |||
| 19 | sub push { | ||
| 20 | 4 | ▶ | my ( $self, @args ) = @_; |
|
Subroutine
push: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 21 | |||
| 22 | 4 | CORE::push( @{ $_[0] }, @args ); | |
| 23 | } | ||
| 24 | |||
| 25 | sub unshift { | ||
| 26 | 1 | ▶ | my ( $self, @args ) = @_; |
|
Subroutine
unshift: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 27 | |||
| 28 | 1 | CORE::unshift( @{ $_[0] }, @args ); | |
| 29 | } | ||
| 30 | |||
| 31 | 407 | 1; | |
| 32 | |||
| 33 | __END__ | ||
| 34 | |||
| 35 | =pod | ||
| 36 | |||
| 37 | =encoding UTF-8 | ||
| 38 | |||
| 39 | =head1 NAME | ||
| 40 | |||
| 41 | HTML::FormFu::Literal | ||
| 42 | |||
| 43 | =head1 VERSION | ||
| 44 | |||
| 45 | version 2.06 | ||
| 46 | |||
| 47 | =head1 AUTHOR | ||
| 48 | |||
| 49 | Carl Franks <cpan@fireartist.com> | ||
| 50 | |||
| 51 | =head1 COPYRIGHT AND LICENSE | ||
| 52 | |||
| 53 | This software is copyright (c) 2018 by Carl Franks. | ||
| 54 | |||
| 55 | This is free software; you can redistribute it and/or modify it under | ||
| 56 | the same terms as the Perl 5 programming language system itself. | ||
| 57 | |||
| 58 | =cut | ||