HEX
Server: Apache
System: Linux server-674799.igrow.ws 5.14.0-611.30.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 11 06:42:00 EST 2026 x86_64
User: elrashedytravel (1025)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/.cpan/build/Test-Deep-1.204-0/t/deep_utils.t
use strict;
use warnings;

use Test::More 0.88;
use if $ENV{AUTHOR_TESTING}, 'Test::Warnings';

use Test::Deep qw( cmp_deeply descend render_stack methods deep_diag );

{
  my $a = [];

  my $base = Test::Deep::_td_reftype($a);
  is($base, "ARRAY", "_td_reftype base ref");
}

{
  my $a = bless [], "A::Class";

  my $base = Test::Deep::_td_reftype($a);
  is($base, "ARRAY", "_td_reftype base obj");
}

{
  my $a = qr/a/;

  my $base = Test::Deep::_td_reftype($a);
  is($base, ($] < 5.011 ? "Regexp" : "REGEXP"), "class_base base regexp");
}

done_testing;