https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32453
--- Comment #5 from Kyle M Hall (khall) <[email protected]> --- Created attachment 200290 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200290&action=edit Bug 32453: (follow-up) Avoid 'used only once' warning for Template::Stash::PRIVATE Setting $Template::Stash::PRIVATE in C4::Templates triggers a 'Name "Template::Stash::PRIVATE" used only once: possible typo' warning, which makes xt/pl_valid.t fail on the file. Wrap the assignment in a 'no warnings ( q{once} )' block so the intentional single use no longer warns. Test plan: 1) Apply the main patch and this follow-up 2) prove xt/pl_valid.t 3) Note C4/Templates.pm no longer reports a 'used only once' warning -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
