| 1 | package Catalyst::Helper::View::Mason2; | ||
| 2 | 1 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | $Catalyst::Helper::View::Mason2::VERSION = '0.03'; | |
| 4 | } | ||
| 5 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 0 | ▶ | sub mk_compclass { |
|
Subroutine
mk_compclass: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 9 | 0 | my ( $self, $helper ) = @_; | |
| 10 | 0 | my $file = $helper->{file}; | |
| 11 | 0 | $helper->render_file( 'compclass', $file ); | |
| 12 | } | ||
| 13 | |||
| 14 | 1 | 1; | |
| 15 | |||
| 16 | |||
| 17 | |||
| 18 | |||
| 19 | =pod | ||
| 20 | |||
| 21 | =head1 NAME | ||
| 22 | |||
| 23 | Catalyst::Helper::View::Mason2 - Helper for Mason 2.x Views | ||
| 24 | |||
| 25 | =head1 VERSION | ||
| 26 | |||
| 27 | version 0.03 | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | script/create.pl view Mason2 Mason2 | ||
| 32 | |||
| 33 | =head1 DESCRIPTION | ||
| 34 | |||
| 35 | Helper for Mason 2.x Views. | ||
| 36 | |||
| 37 | =head1 METHODS | ||
| 38 | |||
| 39 | =head2 mk_compclass | ||
| 40 | |||
| 41 | =head1 AUTHOR | ||
| 42 | |||
| 43 | Jonathan Swartz <swartz@pobox.com> | ||
| 44 | |||
| 45 | =head1 COPYRIGHT AND LICENSE | ||
| 46 | |||
| 47 | This software is copyright (c) 2011 by Jonathan Swartz. | ||
| 48 | |||
| 49 | This is free software; you can redistribute it and/or modify it under | ||
| 50 | the same terms as the Perl 5 programming language system itself. | ||
| 51 | |||
| 52 | =cut | ||
| 53 | |||
| 54 | |||
| 55 | __DATA__ | ||