Mail::A...::Header(3)

πŸ’– Mail::A...::Header β€” bestie edition πŸ’–

okay so you're looking at Mail::A...::Header(3) and honestly? iconic. it's a Perl class that models the entire Authentication Results header set. yeah, the whole thing. no cap.


✨ VERSION ✨

version 2.20250709 β€” that's the one, that's the era we're in πŸ’…


🌸 DESCRIPTION 🌸

So this class represents the main Authentication Results set. That's its whole job. Main character energy fr fr.

Also, bestie, go look at Mail::AuthenticationResults::Header::Base β€” the original literally says "Please see" it, and I am also politely begging you to see it 🫢


πŸŽ€ METHODS πŸŽ€

set_indent_by( $value )

Number of spaces to indent by for as_string(). You're telling it how much to scooch over, basically.

indent_by()

Returns the number of spaces that as_string() is gonna indent by. Same number, but now it's ✨reading✨ instead of writing.

set_indent_on( $class )

The given class will be indented. Giving it the glow-up ✨

clear_indent_on( $class )

The given class will not be indented. Taking the glow-up away. tragic but necessary πŸ’€

indent_on( $class )

Should the given class be indented? Asks the question. You get the answer.

set_eol( $eol )

Sets the eol style for as_string. eol = end of line, and you're the one deciding what that looks like 😌

eol()

Returns the current eol style. Just hands it to you.

fold_at()

Returns the current fold at value, if it's been set.

Strings will be folded if longer than this value where possible. Key phrase: where possible. Not making promises it can't keep πŸ’…

set_fold_at( $fold_at )

Sets the current fold_at value for as_string.

Strings will be folded if longer than this value where possible. Same caveat, same energy.

force_fold_at()

Returns the current force fold at value, if it's been set.

Strings WILL be folded if longer than this value. Not "where possible". Not "if it feels like it". WILL. periodt.

set_force_fold_at( $fold_at )

Sets the current force_fold_at value for as_string.

Strings WILL be folded if longer than this value. yeah. it's giving no-negotiation. πŸ”₯

set_indent_style( $style )

Sets the as_string indenting style.

Options are none, entry, subentry, full β€” that's the whole menu, pick your vibe πŸ¦‹


πŸ‘‘ AUTHOR πŸ‘‘

Marc Bradshaw <marc@marcbradshaw.net> β€” the legend themselves πŸ’œ


This software is copyright (c) 2021 by Marc Bradshaw.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay, honestly.


πŸ’« cute lil sign-off: this page came to you courtesy of perl v5.42.0 and it's dated 2025-07-25. that's the whole footer, bestie β€” no more notes, go write some headers πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from