Catalyst::Model::Gedcom - Gedcom Model Class
# lib/MyApp/Model/Gedcom.pm package MyApp::Model::Gedcom; use base qw( Catalyst::Model::Gedcom ); __PACKAGE__->config( gedcom_file => 'root/my.ged', read_only => 1 ); 1; my $gedcom = $c->model( 'Gedcom' ); my @individuals = $gedcom->individuals;
This is a model class to connect Gedcom files to Catalyst.
Gedcom
Catalyst
passes your config options to Gedcom's new method.
new
Brian Cassidy <bricas@cpan.org>
Copyright 2005-2009 by Brian Cassidy
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Catalyst::Model::Gedcom, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Model::Gedcom
CPAN shell
perl -MCPAN -e shell install Catalyst::Model::Gedcom
For more information on module installation, please visit the detailed CPAN module installation guide.