The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Data::Transpose::Field - Field class for Data::Transpose

SYNOPSIS

     $field = $tp->field('email');

METHODS

new

    $field = Data::Transpose::Field->new(name => 'email');
    

name

Set name of the field:

    $field->name('fullname');

Get name of the field:

    $field->name;

value

Initializes field value and returns value for output:

    $new_value = $self->value($raw_value);

target

Set target name for target operation:

    $field->target('name');

Get target name:

    $field->target;

filter

Adds a filter to the filter chain:

    $field->filter($code);

Returns field object.

LICENSE AND COPYRIGHT

Copyright 2012-2013 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.