File: Foo.pm

package info (click to toggle)
libcatalyst-perl 5.90132-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,016 kB
  • sloc: perl: 11,061; makefile: 7
file content (20 lines) | stat: -rw-r--r-- 355 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package TestApp::Model::Foo;

use strict;
use warnings;

use base qw/ Catalyst::Model /;

__PACKAGE__->config( 'quux' => 'chunkybacon' );

sub model_foo_method { 1 }

sub model_quux_method { shift->{quux} }

package TestApp::Model::Foo::Bar;
sub model_foo_bar_method_from_foo { 1 }

package TestApp::Model::Foo;
sub bar { "TestApp::Model::Foo::Bar" }

1;