---
name: "Test2::Compare::String"
section: "3p"
platform: "openbsd"
package: "man"
version: "8.0-current-20261101"
release: "OpenBSD 8.0-current (2026-11-01)"
platforms: ["openbsd"]
url: "https://new.carta.tech/Test2::Compare::String"
---

# Test2::Compare::String(3p)

Compare two values as strings

## NAME

Test2::Compare::String - Compare two values as strings

## DESCRIPTION

This is used to compare two items after they are stringified. You can also check that two strings are not equal.

**Note**: This will fail if the received value is undefined, it must be defined.

## SOURCE

The source code repository for Test2-Suite can be found at *https://github.com/Test-More/test-more/*.

## MAINTAINERS

- Chad Granum \<exodist@cpan.org\>

  ## AUTHORS

- Chad Granum \<exodist@cpan.org\>

  ## COPYRIGHT

Copyright Chad Granum \<exodist@cpan.org\>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See *http://dev.perl.org/licenses/*
