| 1 | #!perl | ||
| 2 | #PODNAME: Raisin::Encoder::Form | ||
| 3 | #ABSTRACT: Form deserialization plugin for Raisin. | ||
| 4 | |||
| 5 | 5 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 5 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | package Raisin::Encoder::Form; | ||
| 9 | 5 | $Raisin::Encoder::Form::VERSION = '0.94'; | |
| 10 | 5 | ▶ | use Encode qw(decode_utf8); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | 21 | ▶ | sub detectable_by { [qw(application/x-www-form-urlencoded multipart/form-data)] } |
|
Subroutine
detectable_by: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 13 | 0 | ▶ | sub content_type { 'text/plain; charset=utf-8' } |
|
Subroutine
content_type: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 14 | |||
| 15 | 0 | ▶ | sub serialize { |
|
Subroutine
serialize: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 16 | 0 | Raisin::log(error => 'Raisin:Encoder::Form doesn\'t support serialization'); | |
| 17 | 0 | die; | |
| 18 | } | ||
| 19 | |||
| 20 | 4 | ▶ | sub deserialize { $_[1]->body_parameters } |
|
Subroutine
deserialize: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 21 | |||
| 22 | 5 | 1; | |
| 23 | |||
| 24 | __END__ | ||