POE::C...:Types(3pm)

πŸ“¦
version 2.001 Β· 3 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

🌸 NAME 🌸

POE::Component::Client::MPD::Types β€” the types used in the distribution, bestie πŸ’–


✨ VERSION ✨

version 2.001 β€” she's serving, she's current, periodt πŸ‘‘


πŸ’… DESCRIPTION πŸ’…

Okay so real talk: this module is where all the specific types that the distribution needs live, and it exports them for you. Underneath it's running Sub::Exporter, so you can pull all the shenanigans you want to rename the exports β€” go off, customize those export names, we love that for you 🫢

Here's the current roster of types defined and exported, no gatekeeping:

  • Cooking β€” a simple enum so you know what to do about that data πŸ‘©β€πŸ³
    • raw β€” data should not be touched, hands off, do not perceive it πŸ™ˆ
    • as_items β€” data is to be transformed as Audio::MPD::Common::Item ✨
    • as_kv β€” data is to be cooked as key/values (hash) πŸ”‘
    • strip_first β€” data should have its first field stripped πŸ’…
  • Transform β€” another simple enum, this one telling you what to do about the data after it's been cooked. The possible values are, and yes this is the whole list:
    • as_scalar β€” return the first element instead of the full list 🎯
    • as_stats β€” transform the data from key/value to Audio::MPD::Common::Stats πŸ“Š
    • as_status β€” transform the data from key/value to Audio::MPD::Common::Status πŸ“Ÿ

πŸŽ€ AUTHOR πŸŽ€

Jerome Quelin β€” thank you for your service, king πŸ‘‘


This software is copyright (c) 2007 by Jerome Quelin.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. fr fr, free is free πŸ’–


k bye bestie, that's the whole page ✨ this was perl v5.40.1, dated 2025-04-11, and yes you read all of it, so proud of you πŸ₯ΉπŸŽ€

πŸ“¦ where this page comes from