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 out a tree view of xi:includes

yes bestie, the tree. the whole tree. 🌳

Print out a list of XML files that are not xi:included

aka the files just sitting there, uninvited to the party πŸ™ˆ

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 is undef.
  • "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&amp;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