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

Class::Trait::Lib::TPrintable3pm

Trait for adding stringification abilities to your object

Overview

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.

Releases

7 releases since Debian 5.0 (Lenny); the text changed 3 times.

  1. 5.0
  2. 6.0–7
  3. 8–10
  4. 11

Author

Stevan Little <[email protected]>

From libclass-trait-perl 0.31-4.1 in Debian 11 (Bullseye). Parsed by carta from the page's man source.