Net-SSLeay-OO
view release on metacpan or search on metacpan
t/04-cli-cert.t view on Meta::CPAN
# have received a copy of the Artistic License the file COPYING.txt.
# If not, see <http://www.perlfoundation.org/artistic_license_2_0>
use strict;
use warnings;
use FindBin qw($Bin);
our $TC;
our $DEBUG = $ENV{DEBUG_SSL};
sub ok($$) {
if ( !$_[0] ) {
print "not ";
}
print "ok " . ( ++$TC ) . ( $_[1] ? " - $_[1]" : "" ) . "\n";
return !!$_[0];
}
sub diag {
if ($DEBUG) {
print map {"# $_\n"} map { split "\n", $_ } @_;
( run in 2.945 seconds using v1.01-cache-2.11-cpan-524268b4103 )