| 1 | package Template::Plugin::Imager; | ||
| 2 | |||
| 3 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 2 | ▶ | use Imager; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 2 | ▶ | use Template::Plugin; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 2 | ▶ | use base qw/ Template::Plugin /; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 2 | our $VERSION = 0.01; | |
| 11 | |||
| 12 | 1 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
documented
| |||
| 13 | 1 | my $class = shift; | |
| 14 | 1 | my $context = shift; | |
| 15 | 1 | return Imager->new( @_ ) or $class->_throw( "Failed to create Imager\n" ); | |
| 16 | } | ||
| 17 | |||
| 18 | 2 | 1; | |
| 19 | |||
| 20 | __END__ | ||