NAME

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


SYNOPSIS

 my $text = ASCOPE::Class::Text::CDATA->new("hello world");
 print $text;
 # prints "<![CDATA[hello world]]>"


DESCRIPTION

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.


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:30 $


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.