File::Stubb::SubstTie(3)

NAME
File::Stubb::SubstTie - Class for tying hashes in %_ for Perl targets

USAGE
  use File::Stubb::SubstTie;

  tie my %tie, 'File::Stubb::SubstTie', one => 1, two => 2;

  # Returns empty string instead of undef.
  $tie{ phony };

DESCRIPTION
File::Stubb::SubstTie is a class module that, when tied to hashes, will return empty strings for non-existent or undefined keys rather than "undef". This is a private module for stubb. For user documentation, consult the stubb manual.

AUTHOR
Written by Samuel Young, <samyoung12788@gmail.com>.

This project's source can be found on its Codeberg page <https://codeberg.org/1-1sam/stubb.git>. Comments and pull requests are welcome!

COPYRIGHT
Copyright (C) 2025 Samuel Young

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

SEE ALSO
stubb