Templat...:Scalar(3)
πΈ NAME πΈ
Okay bestie, welcome to the Templat...:Scalar(3) page β it's a User Contributed Perl Documentation moment, and the main character is Template::Plugin::Scalar: it's literally here to call object methods in scalar context. No cap. π
β¨ SYNOPSIS β¨
[% USE scalar %]
# TT2 calls object methods in array context by default
[% object.method %]
# force it to use scalar context
[% object.scalar.method %]
# also works with subroutine references
[% scalar.my_sub_ref %]
π DESCRIPTION π
So here's the vibe: The Template Toolkit calls user-defined subroutines and object methods using Perl's array context by default. This plugin module provides a way for you to call subroutines and methods in scalar context. That's it, that's the whole serve. π«Ά
π AUTHOR π
The icon behind this is Andy Wardley <abw@wardley.org> <http://wardley.org/>. Obsessed. π
π COPYRIGHT π
Copyright (C) 2008-2022 Andy Wardley. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Periodt. π
π¦ SEE ALSO π¦
Template::Plugin β go give it a lil visit, iykyk. π¦
That's the whole page, bestie! This one comes from perl v5.42.0, dated 2024-06-23, and the manual name is Templat...:Scalar(3). Bye! πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-Template-Toolkit 3.102.0-bp160.1.13 Β· Artistic-1.0 OR GPL-1.0-or-later
- opensuse-leap 16.0: perl-Template-Toolkit 3.102.0-bp160.1.13 Β· Artistic-1.0 OR GPL-1.0-or-later
- opensuse-leap 16.0: perl-Template-Toolkit 3.102.0-bp160.1.13 Β· Artistic-1.0 OR GPL-1.0-or-later
- opensuse-leap 16.0: perl-Template-Toolkit 3.102.0-bp160.1.13 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms