perl-true - Automatically return a true value when a file is required

Website: https://metacpan.org/release/true
License: Artistic 2.0
Vendor: city-fan.org repo http://www.city-fan.org/ftp/contrib/
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


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
	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.


perl-true-1.0.1-1.fc22.i686 [24 KiB] Changelog by Paul Howarth (2019-03-12):
- Update to 1.0.1
  - Fix breakage when using Moo/Moose and Function::Parameters on perl < 5.24
    (CPAN RT#124745)
  - Add t/rt-124745.t
  - Update ppport.h from 3.19 → 3.44
- License changed from (GPL+ or Artistic) to Artistic 2.0

Listing created by Repoview-0.6.6-13.fc29