From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more
— |
delete ( Types::Standard->meta->{immutable} );
Types::Standard->_remove_type( Types::Standard::Str() );
ok !Types::Standard->can( 'Str' );
ok !Types::Standard->can( 'is_Str' );
ok !Types::Standard->can( 'assert_Str' );
ok !Types::Standard->can( 'to_Str' );
my %h ;
Types::Standard-> import ( { into => \ %h } );
ok ! exists $h {Str};
ok ! exists $h {is_Str};
ok ! exists $h {assert_Str};
ok ! exists $h {to_Str};
ok eval 'use Types::Standard -all; 1' ;
done_testing;
|