Sun, 08 Nov 2026 08:02:24 UTC Log in
Automatically return a true value when a file is required built by guoguo completed Sat, 17 Oct 2026 03:16:39 UTC

Description

Perl's require built-in (and its use wrapper) requires the files it loads to return a true value. This is usually accomplished by placing a single 1; statement at the end of included scripts or modules. It's not onerous to add but it's a speed bump on the Perl novice's road to enlightenment. In addition, it appears to be a non-sequitur to the uninitiated, leading some to attempt to mitigate its appearance with a comment: 1; # keep require happy or: 1; # Do not remove this line or even: 1; # Must end with this, because Perl is bogus. This module packages this "return true" behavior so that it need not be written explicitly. It can be used directly, but it is intended to be invoked from the import method of a Modern::Perl-style module that enables modern Perl features and conveniences and cleans up legacy Perl warts.

RPMs

4 files, 2 arches
src
  • perl-true-1.0.2-20.fc45.src.rpm 146.14 KB info · download
riscv64
  • perl-true-1.0.2-20.fc45.riscv64.rpm 24.73 KB info · download
  • perl-true-debuginfo-1.0.2-20.fc45.riscv64.rpm 42.93 KB info · download
  • perl-true-debugsource-1.0.2-20.fc45.riscv64.rpm 11.59 KB info · download

Logs

riscv64

Changelog

* Wed Jul 22 2026 Jitka Plesnikova <jplesnik@redhat.com> - 1.0.2-20
- Perl 5.44 rebuild

* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild

* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild

* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild

* Mon Jul 07 2025 Jitka Plesnikova <jplesnik@redhat.com> - 1.0.2-16
- Perl 5.42 rebuild

* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild