NAME

ASCOPE::Class::Text::CDATA - Aaron's class thingy for XML encoded text widgets.


SYNOPSIS

 use ASCOPE::Class::Text::Encoded;
 my $t = ASCOPE::Class::Text::Encoded->new("hello, Montréal");
 print $t."\n";
 # prints:
 hello Montréal


DESCRIPTION

Aaron's class thingy for XML encoded text widgets.

Overloads the object's ``'' operator to return the value of the text passed to the object constructor with the various bits and pieces encoded to keep and XML parser happy.


PACKAGE METHODS

__PACKAGE__->new($text)

Returns an object. Woot!


OBJECT METHODS

$obj->raw()

Get the raw text passed to the object constructor.

Returns a string.


VERSION

1.0


DATE

$Date: 2003/03/12 02:33:31 $


AUTHOR

Aaron Straup Cope


SEE ALSO

the ASCOPE::Class::Text manpage


LICENSE

Copyright (c) 2003 Aaron Straup Cope. All Rights Reserved.

This is free software, you may use it and distribute it under the same terms as Perl itself.