users |
domains | name | quota |
f.com, b.com | budi | 1000 |
baz.com | arif | 2000 |
verified |
0 |
Structures which can't be handled yet will simply be output as YAML,
format_pretty({a => {b=>1}}):
a:
b: 1
DESCRIPTION
This module has the same spirit as Data::Format::Pretty::Console (and
currently implemented as its subclass). The idea is to throw it some
data structure and let it figure out how to best display the data in a
pretty HTML format.
Differences with Data::Format::Pretty::Console:
* hot (hash of table) structure is rendered as table of inner tables
FUNCTIONS
format_pretty($data, \%opts)
Return formatted data structure as HTML. Options:
* table_column_orders => [[colname, colname], ...]
See Data::Format::Pretty::Console for more details.
* linkify_urls_in_text => BOOL
Whether to convert 'http://foo' in text into 'http://foo'. Default is true.
HOMEPAGE
Please visit the project's homepage at
.
SOURCE
Source repository is at
.
BUGS
Please report any bugs or feature requests on the bugtracker website
When submitting a bug or request, please include a test-file or a patch
to an existing test-file that illustrates the bug or desired feature.
SEE ALSO
Data::Format::Pretty
AUTHOR
perlancar
COPYRIGHT AND LICENSE
This software is copyright (c) 2017, 2015, 2014, 2013, 2012, 2011 by
perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
|