CSAF::...uctTree(3pm)
π CSAF::Type::ProductTree π
okay bestie, welcome to your new fave little Perl module, straight out of the User Contributed Perl Documentation section of the manual (that's the 3pm vibe, iykyk). no cap, this one's a whole mood: it's a CSAF type, it does CSAF things, and it's here to hold your product tree data like the icon it is. π
β¨ NAME β¨
CSAF::Type::ProductTree β she's the type, she's the tree, she's everything. π¦
πΈ SYNOPSIS πΈ
okay so here's the entire plot, literally just two lines, no notes:
use CSAF::Type::ProductTree;
my $type = CSAF::Type::ProductTree->new( );
that's it. that's the whole entrance. new( ) with the space in the parens because that's how we do it here, and now you have a $type. slay. π
π DESCRIPTION π
π₯ METHODS π₯
so the way that this works: CSAF::Type::ProductTree inherits all the methods from CSAF::Type::Base (so you get all the base-class goodness for free, no extra charge, we love inheritance), and then it implements these new ones on top. extra. iconic. periodt.
$type->branchesβ the branches accessor, bestie. it's right there in the name, she returns the branches. π$type->full_product_namesβ the full product names accessor. every single one of them, named and full. π$type->product_groupsβ the product groups accessor. groups! of products! we stan organisation. π§$type->relationshipsβ the relationships accessor, for when your products are all interconnected and complicated (relatable, honestly). π
note that these are listed exactly as-is in the original docs, with no extra description beyond the names β so don't go inventing behaviour, bestie, that's not the vibe. π
π«Ά SUPPORT π«Ά
π Bugs / Feature Requests π
found a bug? got a feature request burning a hole in your heart? please report any bugs or feature requests through the issue tracker at:
<https://github.com/giterlizzi/perl-CSAF/issues>
and the best part? you will be notified automatically of any progress on your issue. no refreshing, no F5 spam, no not-me-checking-the-page-every-hour energy. the system just tells you. we love a supportive ecosystem. π
π Source Code π
This is open source software. The code repository is available for public review and contribution under the terms of the license.
<https://github.com/giterlizzi/perl-CSAF>
and if you wanna grab it the git way, here's your line, verbatim, character for character:
git clone https://github.com/giterlizzi/perl-CSAF.git
go forth and contribute, bestie. main character energy. π
π AUTHOR π
- Giuseppe Di Terlizzi
<gdt@cpan.org>
one legend, one credit, no cap. π
π LICENSE AND COPYRIGHT π
This software is copyright (c) 2023-2025 by Giuseppe Di Terlizzi.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
so like, free software, same terms as Perl 5 itself, do with that what you will (respectfully). π¦
and that's a wrap on theCSAF::Type::ProductTree(3pm)page, bestie!! πβ¨πΈπ¦ππ π«Ά this whole thing lives inperl v5.40.1, dated2025-09-03β that's the version and the date, right there at the bottom where the footer used to be, now it's just us saying bye. mwah. π
π¦ where this page comes from
- ubuntu resolute: libcsaf-perl 0.26-1 Β· Artistic-2.0
- ubuntu stonking: libcsaf-perl 0.26-1 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms