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 0000000373 373 Bytes
perl-true.spec 0000002918 2.85 KB
true-v1.0.1.tar.gz 0000062775 61.3 KB
Revision 2 (latest revision is 3)
Stephan Kulow's avatar Stephan Kulow (coolo) accepted request 684761 from Stephan Kulow's avatar Stephan Kulow (coolo) (revision 2)
automatic update
Comments 0
openSUSE Build Service is sponsored by