DPKG::CONTROL::TESTS::ENTRY(3perl)

πŸ’… Dpkg::Control::Tests::Entry(3perl) πŸ’…

ok so bestie, welcome to the libdpkg-perl girlies' corner of the manual pages β€” this is Dpkg::Control::Tests::Entry(3perl) and she's here to explain one very specific little vibe: a single test suite entry. yes, that's her whole job, and she does it slayfully ✨


πŸŽ€ NAME πŸŽ€

Dpkg::Control::Tests::Entry β€” literally just represents a test suite entry, no cap 🧚


🌸 DESCRIPTION 🌸

This class represents a test suite entry. that's it, that's the tweet πŸ’… she's a representation, she's a whole class, she's the test suite entry moment.


✨ METHODS ✨

ok so first things first: all the methods of Dpkg::Control are available to you here. every single one, they're all still in the group chat 🫢. the ones listed below are either brand new or overridden with a different behavior β€” so like, same name, different energy, iykyk.

  • $entry = Dpkg::Control::Tests::Entry->new(%opts) β€” creates a new object, periodt. but listen: it does not represent a real control test entry until one has been successfully parsed or built from scratch. so like, she exists, but she's not her yet, you feel me? πŸ™ˆ the options are passed through to the Dpkg::Control->new() constructor β€” so whatever %opts you're handing over, they go straight to that constructor, no detours πŸ’«
  • $bool = $entry->parse($fh, $desc) β€” parses a control test entry from a filehandle. when called multiple times, the parsed fields are accumulated β€” so every call just keeps stacking, she's collecting them like they're limited edition stickers πŸ¦‹. returns true if parsing was a success πŸ’–

πŸ”₯ CHANGES πŸ”₯

⭐ Version 1.00 (dpkg 1.18.8)

  • mark the module as public. she's out, she's public, she's main character energy now πŸ‘‘

and that's the whole page, bestie!! mwah πŸ’œ

this little love letter comes to you from libdpkg-perl, version 1.23.11-dirty, dated 2026-09-09 β€” go forth and parse those test suite entries, you absolute icon πŸŽ€βœ¨

πŸ“¦ where this page comes from