| 1 | package URI::ldapi; | ||||||||||
| 2 | |||||||||||
| 3 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 1 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 1 | our $VERSION = '5.40'; | |||||||||
| 7 | |||||||||||
| 8 | 1 | ▶ | use parent qw(URI::_ldap URI::_generic); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | |||||||||||
| 10 | 1 | ▶ | use URI::Escape (); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 11 | |||||||||||
| 12 | 2 | ▶ | sub un_path { | ||||||||
|
Subroutine
un_path: called CC=2 SCAR=6.9
Pod
undocumented
| |||||||||||
| 13 | 2 | my $self = shift; | |||||||||
| 14 | 2 | my $old = URI::Escape::uri_unescape($self->authority); | |||||||||
| 15 | 2 | ▶ | if (@_) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 16 | 1 | my $p = shift; | |||||||||
| 17 | 1 | $p =~ s/:/%3A/g; | |||||||||
| 18 | 1 | $p =~ s/\@/%40/g; | |||||||||
| 19 | 1 | $self->authority($p); | |||||||||
| 20 | } | ||||||||||
| 21 | 2 | return $old; | |||||||||
| 22 | } | ||||||||||
| 23 | |||||||||||
| 24 | 0 | ▶ | sub _nonldap_canonical { | ||||||||
|
Subroutine
_nonldap_canonical: not called CC=1 SCAR=6.9
| |||||||||||
| 25 | 0 | my $self = shift; | |||||||||
| 26 | 0 | $self->URI::_generic::canonical(@_); | |||||||||
| 27 | } | ||||||||||
| 28 | |||||||||||
| 29 | 1 | 1; | |||||||||