| 1 | package MARC::Moose::Parser; | ||
| 2 | # ABSTRACT: A record parser base class | ||
| 3 | 4 | $MARC::Moose::Parser::VERSION = '1.0.49'; | |
| 4 | 4 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 4 | ▶ | use Modern::Perl; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | # FIXME Experimental. Not used yet. | ||
| 8 | #has converter => ( | ||
| 9 | # is => 'rw', | ||
| 10 | # isa => 'Text::IconvPtr', | ||
| 11 | # default => sub { Text::Iconv->new( "cp857", "utf8" ) } | ||
| 12 | #); | ||
| 13 | |||
| 14 | |||
| 15 | 4 | has lint => (is => 'rw'); | |
| 16 | |||
| 17 | |||
| 18 | |||
| 19 | 0 | ▶ | sub begin { |
|
Subroutine
begin: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 20 | 0 | return ""; | |
| 21 | } | ||
| 22 | |||
| 23 | |||
| 24 | |||
| 25 | 0 | ▶ | sub end { |
|
Subroutine
end: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 26 | 0 | return ""; | |
| 27 | } | ||
| 28 | |||
| 29 | |||
| 30 | |||
| 31 | 0 | ▶ | sub parse { |
|
Subroutine
parse: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 32 | 0 | return MARC::Moose::Record->new(); | |
| 33 | }; | ||
| 34 | |||
| 35 | 4 | __PACKAGE__->meta->make_immutable; | |
| 36 | |||
| 37 | 4 | 1; | |
| 38 | |||
| 39 | __END__ | ||