ASCOPE::Class::Text::CDATA - Aaron's class thingy for CDATA text widgets.
my $text = ASCOPE::Class::Text::CDATA->new("hello world"); print $text;
# prints "<![CDATA[hello world]]>"
Aaron's class thingy for CDATA text widgets.
Overloads the object's ``'' operator to return the value of the text passed to the object constructor wrapped in XML/SGML <![CDATA[]]> tags.
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:30 $
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.