| 1 | package Devel::IPerl::Display::PNG; | ||
| 2 | 2 | $Devel::IPerl::Display::PNG::VERSION = '0.012'; | |
| 3 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 2 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 2 | with qw(Devel::IPerl::Display::Role::MIMESource Devel::IPerl::Display::Role::WebImage); | |
| 8 | |||
| 9 | 5 | ▶ | sub _as_text_plain { |
|
Subroutine
_as_text_plain: called CC=1 SCAR=0.0
| |||
| 10 | 5 | '[PNG image]', # TODO get dimensions? | |
| 11 | } | ||
| 12 | 5 | ▶ | sub _build_mimetype { 'image/png' } |
|
Subroutine
_build_mimetype: called CC=1 SCAR=0.0
| |||
| 13 | |||
| 14 | |||
| 15 | 2 | 1; | |
| 16 | |||
| 17 | __END__ | ||