dwww Home | Manual pages | Find package

Text::Xslate::HashWithUseruContributed Perl Text::Xslate::HashWithDefault(3pm)

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.

perl v5.34.0                      2022-02-06Text::Xslate::HashWithDefault(3pm)

Generated by dwww version 1.14 on Mon Feb 3 08:28:19 CET 2025.