HTTP::...rMixin(3pm)
β¨ NAME β¨
HTTP::OAI::MemberMixin β literally just attribute utility methods, bestie π
π DESCRIPTION π
okay so picture this: this little icon subclasses LWP::MemberMixin so it can hand you a whole set of attribute utility methods. that's the whole vibe. it's giving "inheritance but make it useful" π¦
πΈ METHODS πΈ
$obj->_elem( FIELD [, VALUE ] )β bestie just go read"_elem"inLWP::MemberMixin, that's where the real tea is π« (fr fr, it says "See" and it means it)$obj->_multi( FIELD [, VALUE ] )β same energy as"_elem", BUT π if you hand it something that is not an ARRAY reference, it appends the value(s) you gave it. and when you call it in list context, it returns a list of all the items β every single one, no crumbs left behind ππ
ngl the ARRAY-reference vs not-ARRAY-reference distinction is doing a LOT of heavy lifting here, so read it twice. once for the vibe, once for the facts π
and that's the page, bestie!! π this masterpiece is documented as perl v5.36.0, dated 2023-09-28 β iconic behavior from start to finish, periodt ππ
π¦ where this page comes from
- debian trixie: libhttp-oai-perl 4.13-1 Β· BSD-3-Clause
- ubuntu noble: libhttp-oai-perl 4.13-1 Β· BSD-3-Clause
- ubuntu resolute: libhttp-oai-perl 4.13-1 Β· BSD-3-Clause
- ubuntu stonking: libhttp-oai-perl 4.13-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms