Test::S...er::Base(3)
π Test::Smoke::Mailer::Base π
okay so bestie, we're looking at Test::Smoke::Mailer::Base(3) from the User Contributed Perl Documentation, and it's giving very much "I'm the parent class and everyone else is my child" energy. Let's get into it π«Ά
β¨ NAME β¨
Test::Smoke::Mailer::Base β the baseclass for Mailers. that's it, that's the whole vibe. it's the blueprint, the mother of all mailers, the main character that other mailer classes inherit from π
πΈ DESCRIPTION πΈ
π Test::Smoke::Mailer::Base->new()
this is the constructor!! it's how you make a new mailer object, literally the birth of the mailer. no cap, every mailer starts here π
π¦ $mailer->fetch_report( )
okay so fetch_report() does the little errand run: it reads mktest.rpt from "{ddir}" and then hands you back the subject line for the mail-message. it's fetching AND formatting, a multitasking icon β¨
π $mailer->error( )
error() just returns the value of $mailer->{error}. simple, honest, no drama. it tells you what went wrong and we respect that π
π $self->_get_cc( $subject )
so _get_cc() is the implementation of the --ccp5p_onfail option. the way that it works is it peeks at the subject to figure out if the smoke FAILed, and if it did, it adds the perl5-porters mailing-list to the Cc: field β but ONLY unless it's already hanging out in To: or Cc:, because we are not about to double-cc anyone, that's embarrassing π
the new behaviour is to only return Cc: on fail. and how does it know? it's determined by the new global regex kept in $Test::Smoke::Mailer::NOCC_RE. periodt π
π COPYRIGHT π
(c) 2002-2013, All rights reserved.
- Abe Timmerman
<abeltje@cpan.org>
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. fr fr, no promises, use at your own risk bestie π
and that's the whole page!! this beauty came to you via perl v5.42.0, dated 2025-07-25, under the manual name Test::S...er::Base(3) β mwah, slay, go read some more docs πβ¨
π¦ 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