Public...eeView(3pm)
π Publican::TreeView π
ok so bestie, this is a page from the User Contributed Perl Documentation collection, and it's all about Publican::TreeView, a dumper for XInclude project structure. it's giving very much "let me show you the whole tree" energy π³β¨
β¨ NAME β¨
Publican::TreeView β Dumper for XInclude project structure. no cap, that's literally it. π«Ά
πΈ SYNOPSIS πΈ
use Publican;
use Publican::TreeView...
ok yes the ... is doing a lot of heavy lifting there but we don't make the rules, we just report them π
π¦ DESCRIPTION π¦
Publican::TreeView displays the xi:include structure of the entire project.
that's the whole vibe. it walks your project and shows you the include tree. iconic behavior honestly π₯
π INTERFACE π
new
Create a new Publican::TreeView object.
like, a fresh one. brand new. main character origin story β
print_tree
Print out a tree view of xi:includes
yes bestie, the tree. the whole tree. π³
print_unused
Print out a list of XML files that are not xi:included
aka the files just sitting there, uninvited to the party π
print_unused_images
Print out a list of image files that are not used.
the lonely PNGs. the forgotten JPGs. we see them. we list them. ππ
π DIAGNOSTICS π
"unknown args %s"β All subs with named parameters will return this error when unexpected named arguments are provided."%s is a required argument"β Any sub with a mandatory parameter will return this error if the parameter isundef."Can't open file %s"
β οΈ lowkey if you see any of these, something's off. the third one especially β the file just did not open. that's it. that's the message.
π CONFIGURATION AND ENVIRONMENT π
Publican requires no configuration files or environment variables.
not a single one. zero setup. plug and play. we love a low-maintenance fave β¨
π DEPENDENCIES π
Carp XML::TreeBuilder Publican File::pushd Term::ANSIColor
these are the besties it needs to show up to the function π
π§ INCOMPATIBILITIES π§
None reported.
no drama reported. periodt. π
π BUGS AND LIMITATIONS π
No bugs have been reported.
Please report any bugs or feature requests to "publican-list@redhat.com", or through the web interface at <https://bugzilla.redhat.com/bugzilla/enter_bug.cgi?product=Publican&component=publican>.
bestie if you find a bug, tell them!! don't just sit there. the email is right there. the bugzilla link is right there. go π«Ά
π AUTHOR π
Ryan Lerch "<rlerch@redhat.com>"
ty king π
and that's the page!! this was pulled from perl v5.26.2, dated 2018-07-08 β so yeah, it's a lil vintage, but it still eats πβ¨π
π¦ where this page comes from
- debian bookworm: publican 4.3.2-3 Β· Artistic-1.0-Perl OR GPL-2.0-or-later
- ubuntu jammy: publican 4.3.2-3 Β· Artistic-1.0-Perl OR GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms