NAME
Wikibase::Datatype::Print - Wikibase datatype print helpers.
SYNOPSIS
use Wikibase::Datatype::Print::Item qw(print);
my $pretty_print_string = print($obj, $opts_hr);
my @pretty_print_lines = print($obj, $opts_hr);
DESCRIPTION
This distributions is set of print helpers for Wikibase::Datatype objects.
SUBROUTINES
print
my $pretty_print_string = print($obj, $opts_hr);
my @pretty_print_lines = print($obj, $opts_hr);
Construct pretty print output for main objects like Wikibase::Datatype::Item, Wikibase::Datatype::Lexeme, Wikibase::Datatype::Mediainfo and Wikibase::Datatype::Property.
Returns string in scalar context. Returns list of lines in array context.
ERRORS
print():
Unsupported Wikibase::Datatype object.
Reference: %s
SEE ALSO
- Wikibase::Datatype::Print::Form
-
Wikibase form pretty print helpers.
- Wikibase::Datatype::Print::Item
-
Wikibase item pretty print helpers.
- Wikibase::Datatype::Print::Lexeme
-
Wikibase lexeme pretty print helpers.
- Wikibase::Datatype::Print::Mediainfo
-
Wikibase mediainfo pretty print helpers.
- Wikibase::Datatype::Print::MediainfoSnak
-
Wikibase mediainfo snak pretty print helpers.
- Wikibase::Datatype::Print::MediainfoStatement
-
Wikibase mediainfo statement pretty print helpers.
- Wikibase::Datatype::Print::Property
-
Wikibase property pretty print helpers.
- Wikibase::Datatype::Print::Reference
-
Wikibase reference pretty print helpers.
- Wikibase::Datatype::Print::Sense
-
Wikibase sense pretty print helpers.
- Wikibase::Datatype::Print::Sitelink
-
Wikibase sitelink pretty print helpers.
- Wikibase::Datatype::Print::Snak
-
Wikibase snak pretty print helpers.
- Wikibase::Datatype::Print::Statement
-
Wikibase statement pretty print helpers.
- Wikibase::Datatype::Print::Utils
-
Wikibase pretty print helper utils.
- Wikibase::Datatype::Print::Value
-
Wikibase value pretty print helpers.
- Wikibase::Datatype::Print::Value::Globecoordinate
-
Wikibase globe coordinate item pretty print helpers.
- Wikibase::Datatype::Print::Value::Item
-
Wikibase item value pretty print helpers.
- Wikibase::Datatype::Print::Value::Lexeme
-
Wikibase lexeme value pretty print helpers.
- Wikibase::Datatype::Print::Value::Monolingual
-
Wikibase monolingual value pretty print helpers.
- Wikibase::Datatype::Print::Value::Property
-
Wikibase property value pretty print helpers.
- Wikibase::Datatype::Print::Value::Quantity
-
Wikibase quantity value pretty print helpers.
- Wikibase::Datatype::Print::Value::String
-
Wikibase string value pretty print helpers.
- Wikibase::Datatype::Print::Value::Time
-
Wikibase time value pretty print helpers.
DEPENDENCIES
Error::Pure, Exporter, Readonly, Wikibase::Datatype::Print::Item, Wikibase::Datatype::Print::Lexeme, Wikibase::Datatype::Print::Mediainfo, Wikibase::Datatype::Print::Property.
SEE ALSO
- Wikibase::Datatype
-
Wikibase datatypes.
- Wikibase::Datatype::JSON
-
Wikibase structure JSON serialization.
- Wikibase::Datatype::Struct
-
Wikibase structure serialization.
REPOSITORY
https://github.com/michal-josef-spacek/Wikibase-Datatype-Print
AUTHOR
Michal Josef Špaček mailto:skim@cpan.org
LICENSE AND COPYRIGHT
© 2020-2024 Michal Josef Špaček
BSD 2-Clause License
VERSION
0.17