Query: html::microformats::datatype
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
HTML::Microformats::Datatype(3pm) User Contributed Perl Documentation HTML::Microformats::Datatype(3pm)NAMEHTML::Microformats::Datatype - representations of literal valuesDESCRIPTIONMany places you'd expect a Perl scalar to appear, e.g.: $my_hcard->get_fn; What you actually get returned is an object from one of the Datatype modules. Why? Because using a scalar loses information. For example, most strings have associated language information (from HTML lang and xml:lang attributes). Using an object allows this information to be kept. The Datatype modules overload stringification, which means that for the most part, you can use them as strings (subjecting them to regular expressions, concatenating them, printing them, etc) and everything will work just fine. But they're not strings.BUGSPlease report any bugs to <http://rt.cpan.org/>.SEE ALSOHTML::Microformats. HTML::Microformats::Datatype::DateTime, HTML::Microformats::Datatype::Duration, HTML::Microformats::Datatype::Interval, HTML::Microformats::Datatype::String.AUTHORToby Inkster <tobyink@cpan.org>.COPYRIGHTCopyright 2008-2011 Toby Inkster This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.DISCLAIMER OF WARRANTIESTHIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. perl v5.14.2 2011-12-06 HTML::Microformats::Datatype(3pm)
Similar Topics in the Unix Linux Community |
---|
Perl: Variable input via HTML |
Automated replacement of HTML Tags |
Kazi 1.1 (Default branch) |