Sisima...t::YAML(3pm)
π NAME π
Sisimai::Fact::YAML β dumps decoded data object as a YAML format π
okay so basically this is the lil glow-up module that takes your decoded stuff and turns it into YAML, no cap β¨
πΈ SYNOPSIS πΈ
use Sisimai::Fact;
my $fact = Sisimai::Fact->rise('data' => 'Entire email text');
for my $e ( @$fact ) {
print $e->dump('yaml');
}
like. that's it. that's the whole vibe bestie π¦
β¨ DESCRIPTION β¨
Sisimai::Fact::YAML dumps decoded data object as a YAML format. Important though: this class and its method are meant to be called only from the parent object Sisimai::Fact β don't be out here calling it directly, that's not its moment π
π CLASS METHODS π
π dump(Sisimai::Fact)
the dump() method returns a Sisimai::Fact object as a YAML formatted string. it's giving "give me the receipts, but make them YAML" π«Ά
my $mail = Sisimai::Mail->new('/var/mail/root');
while( my $r = $mail->read ) {
my $fact = Sisimai::Fact->rise('data' => $r);
for my $e ( @$fact ) {
print $e->dump('yaml');
}
}
obsessed with how clean that is fr fr β
π AUTHOR π
azumakuniyuki β the icon, the legend, the main character π«‘
π COPYRIGHT π
Copyright (C) 2014-2016,2018,2020,2021,2024,2025 azumakuniyuki, All rights reserved.
π¦ LICENSE π¦
This software is distributed under The BSD 2-Clause License. slay, permissive, iconic π
and that's a wrap bestie!! πΈ this page is brought to you by perl v5.40.1, dated 2026-07-05, and filed under Sisima...t::YAML(3pm) in the perl docs π
β¨ periodt.
π¦ where this page comes from
- ubuntu stonking: libsisimai-perl 5.7.0-1 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms