CiderW...Header(3pm)

πŸ“¦
version 1.05+20240702 Β· 5 versions
, in debian trixie, ubuntu resolute

✨ CiderW...Header(3pm) ✨

okay so bestie, welcome to the manual page for CiderW...Header β€” it's a chunk of User Contributed Perl Documentation, and it is so tiny but so important. It's literally just one thing to know about, and that one thing is the header-transforming moment. iykyk πŸ’…


πŸ¦‹ transform({ type => $header_name, data => $header_data })

'transform' a header from the 'raw' state (the way it was returned from the server) to an appropriate object. if no appropriate object exists the header will be decoded (using decode_mime_words()) and UTF-8 encoded

so basically: raw header comes in, a glow-up happens, and either you get a fancy object back or the header gets decoded with decode_mime_words() and UTF-8 encoded. either way she ate. πŸ’…βœ¨

🌸 the following 'transformations' take place:

  • from -> Email::Address::XS object
  • to -> Email::Address::XS object
  • cc -> Email::Address::XS object
  • date -> CiderWebmail::Date object

four headers, four glow-ups, no notes. πŸŽ€


and that's the whole page, bestie, no cap. this one shipped as part of perl v5.40.1 and the page itself is dated 2025-03-02 β€” so go forth and transform those headers, you absolute main character πŸ«ΆπŸ‘‘πŸŒˆ

πŸ“¦ where this page comes from