SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
17
devel/p5-Return-Value/Makefile
Normal file
17
devel/p5-Return-Value/Makefile
Normal file
|
@ -0,0 +1,17 @@
|
|||
COMMENT = polymorphic return values
|
||||
|
||||
MODULES = cpan
|
||||
PKG_ARCH = *
|
||||
|
||||
DISTNAME = Return-Value-1.666005
|
||||
CATEGORIES = devel
|
||||
REVISION = 0
|
||||
|
||||
CPAN_AUTHOR = RJBS
|
||||
|
||||
# perl
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
MAKE_ENV = TEST_POD=Yes
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/p5-Return-Value/distinfo
Normal file
2
devel/p5-Return-Value/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (Return-Value-1.666005.tar.gz) = jiJgqWUx6TaGIAuciFDr4AXYjONp/2vHD/GnQFt1UKw=
|
||||
SIZE (Return-Value-1.666005.tar.gz) = 20412
|
15
devel/p5-Return-Value/pkg/DESCR
Normal file
15
devel/p5-Return-Value/pkg/DESCR
Normal file
|
@ -0,0 +1,15 @@
|
|||
Polymorphic return values are really useful. Often, we just want to know
|
||||
if something worked or not. Other times, we'd like to know what the
|
||||
error text was. Still others, we may want to know what the error code
|
||||
was, and what the error properties were. We don't want to handle objects
|
||||
or data structures for every single return value, but we do want to
|
||||
check error conditions in our code because that's what good programmers
|
||||
do.
|
||||
|
||||
When functions are successful they may return true, or perhaps some
|
||||
useful data. In the quest to provide consistent return values, this gets
|
||||
confusing between complex, informational errors and successful return
|
||||
values.
|
||||
|
||||
This module provides these features with a simple API that should get
|
||||
you what you're looking for in each contex a return value is used in.
|
3
devel/p5-Return-Value/pkg/PLIST
Normal file
3
devel/p5-Return-Value/pkg/PLIST
Normal file
|
@ -0,0 +1,3 @@
|
|||
${P5SITE}/Return/
|
||||
${P5SITE}/Return/Value.pm
|
||||
@man man/man3p/Return::Value.3p
|
Loading…
Add table
Add a link
Reference in a new issue