Connector
view release on metacpan or search on metacpan
lib/Connector/Builtin/Inline.pm view on Meta::CPAN
package Connector::Builtin::Inline;
use strict;
use warnings;
use English;
use Data::Dumper;
use Moose;
extends 'Connector::Builtin::Memory';
sub _build_config {
my $self = shift;
return $self->data();
}
has 'data' => (
is => 'ro',
required => 1,
);
no Moose;
__PACKAGE__->meta->make_immutable;
1;
__END__
=head1 Name
Connector::Builtin::Inline
=head1 Description
Inherits from Memory and loads the structure given to I<data> as
initial value.
=head1 Parameters
=over
=item LOCATION
Not used / required.
=item data
The payload of the connector, can be HashRef, ArrayRef or any scalar.
=back
( run in 0.406 second using v1.01-cache-2.11-cpan-a838e43af63 )