NAME

Web::VWF::Data::states - The example site's database of U.S. states

VERSION

Version 0.003.0

DESCRIPTION

A Database::Abstraction over example/data/states.csv, which has a header line and one row for each of the 50 states: state (the two letter code, which is the key), abbreviation and name. It is the example of a data module in a site's own directory, which "CONFIGURATION" in Web::VWF describes. Unlike Web::VWF::Data::index the file is comma separated.

my $row = $states->fetchrow_hashref(state => 'NY');	# { state => 'NY', ..., name => 'New York' }

AUTHOR

Nigel Horne, <njh at nigelhorne.com>

LICENCE AND COPYRIGHT

Copyright 2010-2026 Nigel Horne.

Usage is subject to the GPL2 licence terms. If you use it, please let me know.