Geo::TigerLine::Record::Accessor - Accessor generation for Geo::TigerLine::Record::*
package Geo::TigerLine::Record::1001001; use base qw(Geo::TigerLine::Record::Accessor); # Generate accessors for each field of the record. foreach my $def (values %{__PACKAGE__->Fields}) { __PACKAGE__->mk_accessor($def); } # Turn off input checks, makes inserting raw data faster. __PACKAGE__->input_checks(0);
Allows accessor generation for all the fields of each TIGER/Line record type. You probabably shouldn't be here.
This is a subclass of Class::Accessor.
Class->input_check($true_or_false); $true_or_false = Class->input_check; $true_or_false = $obj->input_check;
If true, turns on the input checks done each time a value is set. False turns them off.
This setting is inherited.
By default, the checks are on.
Michael G Schwern <schwern@pobox.com>
Class::Accessor, Geo::TigerLine::Record
To install Geo::TigerLine, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Geo::TigerLine
CPAN shell
perl -MCPAN -e shell install Geo::TigerLine
For more information on module installation, please visit the detailed CPAN module installation guide.