ASCOPE::Class::Text::CDATA - Aaron's class thingy for XML encoded text widgets.
use ASCOPE::Class::Text::Encoded; my $t = ASCOPE::Class::Text::Encoded->new("hello, Montréal");
print $t."\n";
# prints: hello Montréal
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.
new($text)
Returns an object. Woot!
raw()
Get the raw text passed to the object constructor.
Returns a string.
1.0
$Date: 2003/03/12 02:33:31 $
Aaron Straup Cope
the ASCOPE::Class::Text manpage
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.