| 1 | package Business::PaperlessTrans::RequestPart::CustomFields; | ||
| 2 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 2 | our $VERSION = '0.002000'; # VERSION | |
| 7 | |||
| 8 | 2 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 2 | extends 'MooseY::RemoteHelper::MessagePart'; | |
| 10 | 2 | with 'MooseX::RemoteHelper::CompositeSerialization'; | |
| 11 | |||
| 12 | 2 | ▶ | use MooseX::Types::Common::String qw( NonEmptySimpleStr ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | |||
| 14 | 2 | foreach my $i ( 1..30 ) { | |
| 15 | 60 | has "field_$i" => ( | |
| 16 | remote_name => "Field_$i", | ||
| 17 | isa => NonEmptySimpleStr, | ||
| 18 | is => 'ro', | ||
| 19 | ); | ||
| 20 | } | ||
| 21 | |||
| 22 | 2 | __PACKAGE__->meta->make_immutable; | |
| 23 | 2 | 1; | |
| 24 | # ABSTRACT: CustomFields | ||
| 25 | |||
| 26 | __END__ | ||