| 1 | package IO::Compress::Brotli; | ||||||||||
| 2 | |||||||||||
| 3 | 2 | ▶ | use 5.008000; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 2 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 2 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | 2 | ▶ | use parent qw/Exporter/; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | |||||||||||
| 8 | 2 | ▶ | use Carp qw/croak/; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | |||||||||||
| 10 | 2 | ▶ | use IO::Uncompress::Brotli; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 11 | |||||||||||
| 12 | 2 | our @EXPORT = qw/bro/; | |||||||||
| 13 | 2 | our @EXPORT_OK = @EXPORT; | |||||||||
| 14 | |||||||||||
| 15 | 2 | our $VERSION = '0.023'; | |||||||||
| 16 | |||||||||||
| 17 | 2 | my %BROTLI_ENCODER_MODE = ( generic => 0, text => 1, font => 2 ); | |||||||||
| 18 | 0 | ▶ | sub mode { | ||||||||
|
Subroutine
mode: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 19 | 0 | my ($self, $mode) = @_; | |||||||||
| 20 | |||||||||||
| 21 | croak 'Invalid encoder mode' | ||||||||||
| 22 | 0 | ▶ | unless $BROTLI_ENCODER_MODE{$mode}; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 23 | |||||||||||
| 24 | 0 | _mode($$self, $mode) | |||||||||
| 25 | } | ||||||||||
| 26 | |||||||||||
| 27 | |||||||||||
| 28 | 2 | 1; | |||||||||
| 29 | __END__ | ||||||||||