Excel:...::Scope(3pm)
π Excel::Template::Container::Scope(3pm) π
okay bestie, welcome to the manual page for Excel::Template::Container::Scope β a User Contributed Perl Documentation page, no cap. Let's get into it π«Ά
β¨ NAME β¨
Excel::Template::Container::Scope β literally just Excel::Template::Container::Scope. she's an icon, she's a mystery, she contains multitudes π
π― PURPOSE π―
to provide scoping of parameters for her children. that's it. that's the whole vibe. she's the mom friend who hands out the same info to everyone in the group chat π±β¨
π·οΈ NODE NAME π·οΈ
SCOPE
that's what you call her in your template, bestie. remember it π
𧬠INHERITANCE π§¬
Excel::Template::Container
so she's got that container bloodline. generational excellence fr fr πΈ
π ATTRIBUTES π
None
πΆ CHILDREN πΆ
None
π EFFECTS π
None
π DEPENDENCIES π
None
π οΈ USAGE π οΈ
here's the whole thing, and honestly? it's giving minimal effort, maximum payoff:
<scope param1="value1" param2="value2">
... Children here ...
</scope>
so in the example above, every single one of the children gets access to the parameters param1 and param2. like, all of them. no favorites π₯°
this is useful when you've got a section of your template where everything shares the same set of parameter values, but β plot twist β they don't have a common parent π. so instead of copy-pasting params all over the place like a menace, you just wrap the whole squad in a scope and let them all eat π
π AUTHOR π
Rob Kinyon (rob.kinyon@gmail.com)
π SEE ALSO π
perl β yes, that's the only one. she's independent, she doesn't need a whole friend group π
okay and that's the page!! thanks for reading bestie, mwah π
this whole thing was written for perl v5.34.0, dated 2022-06-13 β and yes, the header and footer said Excel:...::Scope(3pm) but that's just the manual name being cute and mysterious. periodt π
β¨π
π¦ where this page comes from
- debian bookworm: libexcel-template-perl 0.34-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libexcel-template-perl 0.34-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libexcel-template-perl 0.34-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libexcel-template-perl 0.34-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libexcel-template-perl 0.34-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms