NAME

Data::Transpose::Prefix::Field - Field class with prefix for Data::Transpose

SYNOPSIS

$field = Data::Transpose::Prefix::Field->new(
   prefix => 'billing_',
   name => 'email',

DESCRIPTION

This is a subclass of Data::Transpose::Field.

ATTRIBUTES

prefix

Prefix for the field name.

METHODS

target

Sets or get the target.

$field->target('email');

The return value includes the prefix, e.g. billing_email.

LICENSE AND COPYRIGHT

Copyright 2012-2016 Stefan Hornburg (Racke) <racke@linuxia.de>.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.