HTTP::S...sageBody(3)
π NAME π
HTTP::Soup::MessageBody β bestie, this is the lil boxed type that holds a message body for you π«Ά
π¦ HIERARCHY π¦
okay so the family tree is giving very much "only child", look:
Glib::Boxed
+----HTTP::Soup::MessageBody
it inherits straight from Glib::Boxed, no siblings, no drama β¨
πΈ METHODS πΈ
π
$body->append ($sv)
bestie this one appends stuff to your body, slay π
$sv(scalar) β the thing you're appending, it's a plain scalar, no cap
π $body->append_take ($sv)
same energy as append but it takes the value, iconic behaviour π
$sv(scalar) β again, just a scalar, that's the whole vibe
β scalar = $body->data ($val=undef)
gives you back a scalar, literally the main character of return values β¨
$val(string) β optional, defaults toundef, so if you don't pass anything it's justundefand that's valid π
π₯ 64 bit integer = $body->length ($val=0)
hands you a 64 bit integer back, that's a whole lotta bits fr fr π«Ά
$val(64 bit integer) β optional, and the default is0, so it'll assume zero if you ghost it π
π SEE ALSO π
if you wanna go deeper down the rabbit hole, go check these cuties:
HTTP::SoupGlib::Boxed
π COPYRIGHT π
Copyright (C) 2011 by Emmanuel Rodriguez
okay bestie that's the whole page, no crumbs left π
and that's a wrap! this beauty lives in perl v5.42.0, dated 2025-07-25 β go forth and slay your message bodies ππ
π¦
π¦ where this page comes from
- fedora 43: perl-HTTP-Soup 0.01-39.fc43 Β· LicenseRef-Callaway-LGPLv2 OR Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms