File: Result.pm

package info (click to toggle)
libdbix-class-candy-perl 0.005004-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 264 kB
  • sloc: perl: 623; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 343 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package IRC::Schema::Result;

use strict;
use warnings;

use base 'DBIx::Class::Core';

__PACKAGE__->load_components('Candy');

sub base() { $_[1] || 'IRC::Schema::Result' }

sub perl_version() { return 34 if $] >= 5.034 }
sub autotable() { 1 }
sub gen_table {
   my $self = shift;
   my $ret  = $self->next::method(@_);

   ucfirst $ret
}
1;