|
NAMETeng::Plugin::FindOrCreate - provide find_or_create method for your Teng class.NAMEpackage MyDB; use parent qw/Teng/; __PACKAGE__->load_plugin('FindOrCreate'); package main; my $db = MyDB->new(...); my $row = $db->find_or_create('user',{name => 'lestrrat'}); DESCRIPTIONThis plugin provides find_or_create method.METHODS
Visit the GSP FreeBSD Man Page Interface. |