The autobox pragma allows methods to be called on integers, floats, strings, arrays, hashes, and code references in exactly the same manner as blessed references. The autoboxing is transparent: boxed values are not blessed into their (user-defined) implementation class (unless the method elects to bestow such a blessing) - they simply use its methods as though they are. ok sthen@
21 lines
341 B
Makefile
21 lines
341 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2013/04/23 18:58:20 landry Exp $
|
|
|
|
SHARED_ONLY = Yes
|
|
|
|
COMMENT = pragma to call methods on native types
|
|
|
|
DISTNAME = autobox-2.77
|
|
|
|
CATEGORIES = devel
|
|
|
|
# Perl
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB += c
|
|
MODULES = cpan
|
|
|
|
BUILD_DEPENDS = ${RUN_DEPENDS}
|
|
RUN_DEPENDS = devel/p5-Scope-Guard
|
|
|
|
.include <bsd.port.mk>
|