forked from pool/perl-Params-Util
Accepting request 33923 from devel:languages:perl
Copy from devel:languages:perl/perl-Params-Util based on submit request 33923 from user coolo OBS-URL: https://build.opensuse.org/request/show/33923 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Util?expand=0&rev=2
This commit is contained in:
parent
d55f31a4b7
commit
afd221cf6a
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 4 10:38:55 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
- readd whitespace removed by autobuild
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jul 25 19:41:14 CEST 2009 - chris@computersalat.de
|
Sat Jul 25 19:41:14 CEST 2009 - chris@computersalat.de
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ Name: perl-Params-Util
|
|||||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||||
Summary: Simple, compact and correct param-checking functions
|
Summary: Simple, compact and correct param-checking functions
|
||||||
Version: 1.00
|
Version: 1.00
|
||||||
Release: 1
|
Release: 2
|
||||||
License: Artistic
|
License: Artistic
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/perldoc?Params::Util
|
Url: http://search.cpan.org/perldoc?Params::Util
|
||||||
@ -41,24 +41,30 @@ Requires: perl(File::Spec) >= 0.80
|
|||||||
%description
|
%description
|
||||||
|
|
||||||
%{cpan_name} module for perl
|
%{cpan_name} module for perl
|
||||||
|
|
||||||
Params::Util provides a basic set of importable functions that makes checking
|
Params::Util provides a basic set of importable functions that makes checking
|
||||||
parameters a hell of a lot easier While they can be (and are) used in other
|
parameters a hell of a lot easier While they can be (and are) used in other
|
||||||
contexts, the main point behind this module is that the functions both Do What
|
contexts, the main point behind this module is that the functions both Do What
|
||||||
You Mean, and Do The Right Thing, so they are most useful when you are getting
|
You Mean, and Do The Right Thing, so they are most useful when you are getting
|
||||||
params passed into your code from someone and/or somewhere else and you can't
|
params passed into your code from someone and/or somewhere else and you can't
|
||||||
really trust the quality.
|
really trust the quality.
|
||||||
|
|
||||||
Thus, Params::Util is of most use at the edges of your API, where params and
|
Thus, Params::Util is of most use at the edges of your API, where params and
|
||||||
data are coming in from outside your code. The functions provided by
|
data are coming in from outside your code. The functions provided by
|
||||||
Params::Util check in the most strictly correct manner known, are documented as
|
Params::Util check in the most strictly correct manner known, are documented as
|
||||||
thoroughly as possible so their exact behaviour is clear, and heavily tested so
|
thoroughly as possible so their exact behaviour is clear, and heavily tested so
|
||||||
make sure they are not fooled by weird data and Really Bad Things.
|
make sure they are not fooled by weird data and Really Bad Things.
|
||||||
|
|
||||||
To use, simply load the module providing the functions you want to use as
|
To use, simply load the module providing the functions you want to use as
|
||||||
arguments (as shown in the SYNOPSIS).
|
arguments (as shown in the SYNOPSIS).
|
||||||
|
|
||||||
To aid in maintainability, Params::Util will never export by default.
|
To aid in maintainability, Params::Util will never export by default.
|
||||||
|
|
||||||
You must explicitly name the functions you want to export, or use the :ALL
|
You must explicitly name the functions you want to export, or use the :ALL
|
||||||
param to just have it export everything (although this is not recommended if
|
param to just have it export everything (although this is not recommended if
|
||||||
you have any _FOO functions yourself with which future additions to
|
you have any _FOO functions yourself with which future additions to
|
||||||
Params::Util may clash)
|
Params::Util may clash)
|
||||||
|
|
||||||
Author: Adam Kennedy <adamk@cpan.org>
|
Author: Adam Kennedy <adamk@cpan.org>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
Loading…
x
Reference in New Issue
Block a user