NAME

WWW::Mixi::OO::Util - WWW::Mixi::OO Helper Functions

SYNOPSIS

use base qw(WWW::Mixi::OO::Util);
$this->absolute_uri(..., ...);

DESCRIPTION

misc helper functions.

METHODS

absolute_uri

->absolute_uri($uri, [$base]);

Generate absolute URI from base uri. This is simple wrapper for URI class.

relative_uri

->relative_uri($uri, [$base]);

Generate relative URI from base uri. This is simple wrapper for URI class.

remove_tag

->remove_tag($str);

Remove HTML(or XML, or SGML?) tag from string.

html_attrs_to_hash
generate_ignore_case_hash
generate_case_preserved_hash

obsolete. renamed to generate_ignore_case_hash

copy_hash_val
regex_parts

->regex_parts->{$foo};

escape

->escape($str);

equivalent of CGI::escapeHTML.

unescape

->unescape($str);

HTML unescape.

unquote

->unquote($str);

HTML unquote.

rewrite

->rewrite($str);

standard rewrite method. do remove_tag and unescape.

please_override_this

sub foo { shift->please_override_this }

universal 'please override this' error method.

SEE ALSO

WWW::Mixi::OO

AUTHOR

Topia <topia@clovery.jp>

COPYRIGHT AND LICENSE

Copyright (C) 2005 by Topia.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.