The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Test::Proto::String - Test Prototype for strings.

SYNOPSIS

        Test::Proto::String->new->ok('123'); # ok
        Test::Proto::String->new->ok(undef); # not ok
        Test::Proto::String->new->ok([1,2,3]); # not ok

This is a test prototype which requires that the value it is given is defined and is a scalar. It provides methods for interacting with strings.

METHODS

Currently, all methods are inherited from Test::Proto::Base.

OTHER INFORMATION

For author, version, bug reports, support, etc, please see Test::Proto.