mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
1ec74787a6
Perl's require builtin (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" behaviour 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. WWW: http://search.cpan.org/dist/true/
3 lines
125 B
Plaintext
3 lines
125 B
Plaintext
SHA256 (true-0.18.tar.gz) = ff3d041eb2a522ec6194d7a3888325e8a3ef2238ab51452f0b547696be0b4594
|
|
SIZE (true-0.18.tar.gz) = 51382
|