logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

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.40.0                                       2024-10-20                 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')

See Also