—use
strict;
use
warnings;
# X<> used with unsupported variable type.
=head1 DESCRIPTION
X<%a=>(a => 1, b => 2)
=cut
use
Test::Exception;
throws_ok {
Pod::Constant->
import
();
}
qr/only supports scalar values/
,
'X<> used with hash'
;
—use
strict;
use
warnings;
# X<> used with unsupported variable type.
=head1 DESCRIPTION
X<%a=>(a => 1, b => 2)
=cut
use
Test::Exception;
throws_ok {
Pod::Constant->
import
();
}
qr/only supports scalar values/
,
'X<> used with hash'
;