1Text::Xslate::HashWithDUesfearulCto(n3t)ributed Perl DocTuemxetn:t:aXtsiloante::HashWithDefault(3)
2
3
4

NAME

6       Text::Xslate::HashWithDefault - Helper class to fill in default values
7

SYNOPSIS

9           use Text::Xslate::Util qw(hash_with_default);
10
11           my $hash_ref = hash_with_default({ }, sub { "FILLME('@_')" });
12           print $hash_ref->{foo}; # FILLME('foo')
13

DESCRIPTION

15       This is a helper class to provide "hash_with_default()" functionality,
16       which is useful for debugging.
17
18       See Text::Xslate::Manual::Debugging for details.
19
20
21
22perl v5.30.1                      2019-11-26  Text::Xslate::HashWithDefault(3)
Impressum