Package : perl-true > RPM : perl-true-1.0.2-5.mga10.src.rpm
Basic items
Name | perl-true |
Version | 1.0.2 |
Release | 5.mga10 |
URL | https://metacpan.org/release/true |
Group | Development/Perl |
Summary | Shim to allow modules to depend on true.pm |
Size | 131KB |
Arch | aarch64 |
License | GPLv1+ or Artistic |
Description
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:
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:
Media information
Distribution release | Mageia cauldron |
Media name | core-release |
Media arch | i586 |
Advanced items
Source RPM | NOT IN DATABASE ?! |
Build time | 2023-12-29 04:16:52 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |