---
name: "Class::Trait::Lib::TPrintable"
section: "3pm"
platform: "linux"
package: "libclass-trait-perl"
version: "0.31-4.1"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/Class::Trait::Lib::TPrintable"
---

# Class::Trait::Lib::TPrintable(3pm)

Trait for adding stringification abilities to your object

## NAME

TPrintable - Trait for adding stringification abilities to your object

## DESCRIPTION

TPrintable gives your object automatic stringification abilities, as well as access to your original stringified object value.

## REQUIRES

- **toString**

  This method should return the stringified object.

## OVERLOADS

- **""**

  This operator call the `"toString"` method to stringify the object.

## PROVIDES

- **stringValue**

  This returns the normal perl stringified value, bypassing whatever `"toString"` might return.

## AUTHOR

Stevan Little \<stevan@iinteractive.com\>

## COPYRIGHT AND LICENSE

Copyright 2004, 2005 by Infinity Interactive, Inc.

\<http://www.iinteractive.com\>

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