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

WebFetch::Data::Record - Object for management of WebFetch data records/rows

SYNOPSIS

use WebFetch::Data::Record;

WebFetch::Data::Record-mk_field_accessor( $field_name, ... ); $value = $obj->bynum( $num ); $value = $obj->fieldname; $obj->fieldname( $value ); >

DESCRIPTION

This module provides read-only access to a single record of the WebFetch data.

$value = $obj->bynum( $field_num );

Returns the value of the field located by the field number provided. The first field is numbered 0.

$value = $obj->byname( $field_name );

Returns the value of the named field.

$class->mk_field_accessor( $field_name, ... );

Creates accessor functions for each field name provided.

accessor functions

Accessor functions are created for field names and well-known names as they are defined.

So a field named "title" can be accessed by an object method of the same name, like $obj->title .

AUTHOR

WebFetch was written by Ian Kluft Send patches, bug reports, suggestions and questions to maint@webfetch.org.

SEE ALSO

WebFetch, WebFetch::Data::Record

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 79:

'=item' outside of any '=over'

Around line 204:

You forgot a '=back' before '=head1'