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

Edit Package perl-true

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.

This module packages this "return true" behaviour so that it doesn't need to 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.

Refresh
Refresh
Source Files
Filename Size Changed
cpanspec.yml 0000000669 669 Bytes
perl-true.changes 0000000664 664 Bytes
perl-true.spec 0000002890 2.82 KB
true-v1.0.2.tar.gz 0000129037 126 KB
Comments 0
openSUSE Build Service is sponsored by