The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

LINQ::Field - represents a single field in a LINQ::FieldSet

DESCRIPTION

See LINQ::FieldSet for details.

This is used internally by LINQ and you probably don't need to know about it unless you're writing very specific extensions for LINQ.

CONSTRUCTOR

new( ARGSHASH )

METHODS

index

The order of a field within a fieldset. Starts at zero.

name

The name of a field.

value

The hashref key or method name used to find the value for the field from a hashref or object; or a coderef which will get the value from $_.

params

Additional metadata for the field.

getter

A coderef which will get the value of a field from $_.

BUGS

Please report any bugs to http://rt.cpan.org/Dist/Display.html?Queue=LINQ.

SEE ALSO

LINQ::FieldSet.

AUTHOR

Toby Inkster <tobyink@cpan.org>.

COPYRIGHT AND LICENCE

This software is copyright (c) 2021 by Toby Inkster.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

DISCLAIMER OF WARRANTIES

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.