Net::Lighthouse::Util - Util
use Net::Lighthouse::Util;
utility methods live here
translate from xml, the general translation map is: 'foo-bar' => 'foo_bar', value bool false | true => 0 | 1, value yaml string => object value datetime string => DateTime object
generally, the reverse of translate_from_xml.
wrap of XML::TreePP->parse and XML::TreePP->write, respectively
parse string to a DateTime object, and translate its timezone to UTC
DateTime, YAML::Syck
sunnavy <sunnavy@bestpractical.com>
<sunnavy@bestpractical.com>
Copyright 2009-2010 Best Practical Solutions.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Net::Lighthouse, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Lighthouse
CPAN shell
perl -MCPAN -e shell install Net::Lighthouse
For more information on module installation, please visit the detailed CPAN module installation guide.