⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.67
Server IP:
50.6.168.112
Server:
Linux server-617809.webnetzimbabwe.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
Server Software:
Apache
PHP Version:
8.4.10
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
.cpan
/
build
/
Storable-3.25-0
/
t
/
View File Name :
croak.t
#!./perl -w # Please keep this test this simple. (ie just one test.) # There's some sort of not-croaking properly problem in Storable when built # with 5.005_03. This test shows it up, whereas malice.t does not. # In particular, don't use Test; as this covers up the problem. sub BEGIN { if ($ENV{PERL_CORE}) { require Config; import Config; %Config=%Config if 0; # cease -w if ($Config{'extensions'} !~ /\bStorable\b/) { print "1..0 # Skip: Storable was not built\n"; exit 0; } } } use strict; BEGIN { die "Oi! No! Don't change this test so that Carp is used before Storable" if defined &Carp::carp; } use Storable qw(freeze thaw); print "1..2\n"; for my $test (1,2) { eval {thaw "\xFF\xFF"}; if ($@ =~ /Storable binary image v127.255 more recent than I am \(v2\.\d+\)/) { print "ok $test\n"; } else { chomp $@; print "not ok $test # Expected a meaningful croak. Got '$@'\n"; } }