| 1 | package junk; | ||||||||||||||
| 2 | 2 | our $VERSION = '0.004'; | |||||||||||||
| 3 | 2 | our $AUTHORITY = 'cpan:TOBYINK'; | |||||||||||||
| 4 | 2 | ▶ | use strict; use Carp; use MIME::Base64; | ||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||
| 5 | 4 | ▶ | sub import{my$class=shift or return$=;if(!@_){strict->unimport,return | ||||||||||||
|
Subroutine
import: called CC=7 SCAR=19.5
Branch: 2 branches
| |||||||||||||||
| 6 | 1 | }my@A=@_;my$caller=caller;foreach my$x(@A){$x=~s{_D\d}{$1}g;$x=~s{_P} | |||||||||||||
| 7 | 1 | ▶ | {+}g;$x=~s{_S}{/}g;$x.='='while(length$x)%3;croak"invalid base64: $x" | ||||||||||||
|
Branch: 2 branches
| |||||||||||||||
| 8 | 1 | if$x=~m~[^A-Za-z0-9\+\/\=]~;my$o;my$eval=join q..,qq, package $caller | |||||||||||||
| 9 | 1 | ▶ | ;,,decode_base64($x);warn"$eval\n"if$ENV{PERL_JUNK_DEBUG};eval$eval}} | ||||||||||||
|
Branch: 1 branch
| |||||||||||||||
| 10 | 1 | ▶ | sub unimport{strict->import(qw,vars subs,)}import | ||||||||||||
|
Subroutine
unimport: called CC=1 SCAR=0.0
| |||||||||||||||
| 11 | |||||||||||||||
| 12 | __END__ | ||||||||||||||