Test::S...stQueue(3)
π Test::S...stQueue(3) π
okay bestie, so this is a page from the User Contributed Perl Documentation section, and it's literally called Test::S...stQueue(3) (yes the name got truncated, the vibes are immaculate, we move). Let's get into it π«Ά
β¨ NAME β¨
Test::Smoke::PostQueue β it's a queue mechanism for re-posting reports. that's the whole thing. a little queue. re-posting reports. iconic behavior π
πΈ SYNOPSIS πΈ
use Test::Smoke::PostQueue;
my $queue = Test::Smoke::PostQueue->new(
qfile => $qfile,
adir => $adir,
poster => $poster
);
$queue->add($patch);
$queue->handle_queue();
see how easy that is?? you make the queue, you add to the queue, you handle_queue(). three steps. that's it. that's the whole flow β¨
π¦ DESCRIPTION π¦
so here's the tea: this thing is implemented as a singleton. one of them. just the one. there can only be one, main character energy fr fr π
β οΈ and listen, it can only work if archiving is true. if archiving isn't true, bestie, it's not happening. no archiving, no queue. periodt.
π Test::Smoke::PostQueue->new(%arguments)
Returns you an instantiated object π β and here's the cute part: if it was already created, it just returns that one. same object. no new ones. singleton said what it said.
Arguments
Named, list β like, you pass them by name, in a list:
qfileβ the file we keep the queue in. and it's cute because it's one patchlevel per line πadirβ the archive directory where we get the report (thejsnone) from πposterβ this has to be an instance ofTest::Smoke::Posterwithddirset toadir. not optional, not vibes-based, it must be that πvβ verbosity. turn it up, turn it down, live your truth π
β $queue->add($patchlevel)
Adds an item to the queue-file. that's the move. one item, into the file. slay π
π§ $queue->handle()
This reads the queue-file and tries to post every report it can find in the archive. every single one it can find. it's out here doing the work, no cap π₯
π $queue->purge
Removes all entries that do not exist in adir. bye to the ghosts ππ
π COPYRIGHT π
Β© 2002-2013, Abe Timmerman <abeltje@cpan.org> All rights reserved.
See AUTHORS for contributers. (their spelling, not mine, we respect it π)
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See:
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. so like, no promises bestie, it's giving "use at your own risk but lovingly" ππ
and that's the whole page!! written by the Perl documentation crew, shipped with perl v5.42.0, dated 2025-07-25, and it lives at Test::S...stQueue(3) forever πβ¨ mwah, go queue something ππ
π¦ where this page comes from
- fedora 43: perl-Test-Smoke 1.84-2.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms