Arch::...Archive(3pm)
π¦ Arch::Test::Archive β the perl manual page, but make it cute π¦
okay bestie, so this is the page for Arch::...Archive(3pm) (the file name is a lil truncated, the actual thing is Arch::Test::Archive, don't worry about it π
). It's a test framework for Arch-Perl and it is genuinely iconic for what it does. Buckle up, we're building archives in our test suite like it's nothing. π
β¨ NAME β¨
Arch::Test::Archive β a test framework for Arch-Perl. π«Ά
πΈ SYNOPSIS πΈ
look at this. look at how clean it is. no cap, this is the whole vibe:
use Arch::Test::Framework;
my $fw = Arch::Test::Framework->new;
my $archive = $fw->make_archive;
my $version1 = $archive->make_version();
my $version2 = $archive->make_version($branch);
three lines in and you already got yourself a whole archive with versions in it. we love a low-effort high-reward situation. π
π§ DESCRIPTION π§
Arch::Test::Archive gives you methods to quickly build and modify Arch archives. that's it, that's the whole point. it's giving "test setup but make it fast", and honestly? obsessed. β¨
π METHODS π
here's the whole squad, roll call:
newnameframeworkrun_tlamake_categorymake_branchmake_version
and now the individual breakdowns, because every single one of them matters:
new framework nameβ creates a newArch::Test::Archiveinstance for the archive name.
β οΈ real talk bestie: this method should not be called directly. don't be the main character who calls it directly. let the framework do it. π
nameβ returns the archive name. simple, elegant, slay.frameworkβ returns the associatedArch::Test::Frameworkreference. π¦run_tla @argsβ runstlawith the specified arguments. that's it. you hand it args, it runstla. periodt.make_category [category]make_branch [category [branch]]make_version [category [branch [version]]]
these three create a new category, branch or version. a unique name is generated for any part you didn't specify, so you can be as vague or as specific as your heart desires. π the fully qualified name is returned, so you always get the receipts.
π AUTHORS π
shoutout to the legends who made this happen, no cap:
- Mikhael Goikhman (
migo@homemail.com--Perl-GPL/arch-perl--devel). - Enno Cramer (
uebergeek@web.de--2003/arch-perl--devel).
kings. π
and that's the page, bestie! this was perl v5.20.2, dated 2005-04-14 β yeah it's vintage, but it ate and left no crumbs. π
β¨ go build some archives, you got this. ππ
π¦ where this page comes from
- ubuntu jammy: libarch-perl 0.5.2-2 Β· 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