Filter...eBytes(3pm)

πŸ“¦
version 1.043 Β· 3 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– Filter::Template::UseBytes(3pm) πŸ’–

okay bestie, welcome to the manual page for Filter::Template::UseBytes β€” it lives in the User Contributed Perl Documentation corner of the perl world, and it's literally the tiniest little helper you ever did see. it's giving "conditionally use bytes.pm depending on availability" ✨


🌸 VERSION 🌸

version 1.043

yeah. 1.043. short and sweet, just like her πŸŽ€


✨ SYNOPSIS ✨

ok so here's the whole vibe in one code block, look at her go:

use Filter::Template ( isa => "Filter::Template::UseBytes" );

print "Phi length in characters: ", length(chr(0x618)), "\n";
{% use_bytes %}
print "Phi length in bytes: ", length(chr(0x618)), "\n";

like… the way that {% use_bytes %} just slides in there and changes everything downstream? main character energy fr fr πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea β˜• the UseBytes template evaluates to use bytes; if Perl 5.005_55 or later is running.

and if it's not? it evaluates to an empty string. which does absolutely nothing πŸ«₯ but β€” and this is the important part, bestie β€” it also doesn't throw an exception. no drama, no crash, just a graceful little nothing. we love a low-maintenance template πŸ’…


😭 BUGS 😭

ngl, this is the part where I hold your hand:

All the caveats of Filter::Template apply here.

that's it. that's the whole section. every single caveat from the parent module? yeah, all of them, over here too πŸ™ˆ so go read Filter::Template and take those caveats seriously, periodt.


πŸ‘‘ SEE ALSO πŸ‘‘

  • Filter::Template.

that's the one. your girl does not exist in a vacuum, she's a Filter::Template girlie through and through πŸ’œ


Filter::Template::UseBytes is Copyright 2000-2013 Rocco Caputo. All rights reserved. πŸ’–

Filter::Template::UseBytes is free software; you may redistribute it and/or modify it under the same terms as Perl itself. slay, open source legend 🌈

also, fun lore drop for the girlies who weren't there: Filter::Template::UseBytes was previously known as POE::Macro::UseBytes. rebrand era, we respect it πŸ¦‹


and that's the whole page!! source-and-date wise, this was rendered from perl v5.36.0 and dated 2022-10-22 β€” so if you're reading this way later, hi, hope you're hydrated πŸ’§ anyway ily, go write some templates, bye bestie 🫢🌸✨

πŸ“¦ where this page comes from