| 1 | package TSVRPC::Util; | ||||||||||
| 2 | 6 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 6 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | |||||||||||
| 5 | 0 | ▶ | sub parse_content_type { | ||||||||
|
Subroutine
parse_content_type: not called CC=3 SCAR=24.8
Pod
undocumented
| |||||||||||
| 6 | 0 | my ($content_type) = @_; | |||||||||
| 7 | 0 | ▶ | if ($content_type =~ m{text/tab-separated-values(?:; colenc=([BUQ]))?}) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 8 | 0 | ▶ | return defined $1 ? $1 : ''; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 9 | } else { | ||||||||||
| 10 | 0 | return undef; | |||||||||
| 11 | } | ||||||||||
| 12 | } | ||||||||||
| 13 | |||||||||||
| 14 | 6 | 1; | |||||||||