Also, add a plan to those tests, for extra safety
my %fooormore = map { $_ => 0 } @fooormore;
# Load and run the tests
-plan "no_plan";
+plan tests => 294;
while (<DATA>) {
next if /^#/ || !/\S/;
! \&fatal $ov_obj
'cigam' $ov_obj
! 'cigam on' $ov_obj
+! ['cigam'] $ov_obj
+! ['stringified'] $ov_obj
+! { cigam => 1 } $ov_obj
+! { stringified => 1 } $ov_obj
! $obj $ov_obj
! undef $ov_obj
# object (overloaded or not) ~~ Any
$obj qr/NoOverload/
$ov_obj qr/^stringified$/
- "$ov_obj" "stringified"
+= "$ov_obj" "stringified"
+!= $ov_obj "stringified"
$ov_obj 'magic'
! $ov_obj 'not magic'
+{} \&fatal
@empty \&fatal
%empty \&fatal
+# sub is not special on the left
+ sub {0} qr/^CODE/
+ sub {0} sub { ref shift eq "CODE" }
# HASH ref against:
# - another hash ref