⚝
One Hat Cyber Team
⚝
Your IP:
160.79.111.67
Server IP:
15.204.235.159
Server:
Linux srv.techlup.co.ke 4.18.0-553.5.1.el8_10.x86_64 #1 SMP Wed Jun 5 09:12:13 EDT 2024 x86_64
Server Software:
Apache
PHP Version:
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
doc
/
perl-Try-Tiny
/
t
/
View File Name :
global_destruction_load.t
use strict; use warnings; use Test::More; BEGIN { plan skip_all => 'Capture::Tiny 0.12 required' unless eval { require Capture::Tiny; Capture::Tiny->VERSION(0.12); 1 }; plan tests => 3; Capture::Tiny->import(qw(capture_stderr)); } for my $func (qw(try catch finally)) { is capture_stderr { system $^X, qw(-It/lib -we), qq{sub DESTROY { require TryUser; TryUser->test_$func }} . q{our $o; $o = bless []}; }, '', "$func gets installed when loading Try::Tiny during global destruction"; }