Text::Xslate::HashWithDefault
Section: User Contributed Perl Documentation (3pm)
Updated: 2022-10-20
Index
Return to Main Contents
NAME
Text::Xslate::HashWithDefault - Helper class to fill in default values
SYNOPSIS
use Text::Xslate::Util qw(hash_with_default);
my $hash_ref = hash_with_default({ }, sub { "FILLME('@_')" });
print $hash_ref->{foo}; # FILLME('foo')
DESCRIPTION
This is a helper class to provide "hash_with_default()" functionality,
which is useful for debugging.
See Text::Xslate::Manual::Debugging for details.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 12:07:29 GMT, May 18, 2024