b91bfaf630
While "tie" in Perl allows tying to an arbitrary object, the class in question must support this in it's implementation of TIEHASH, TIEARRAY or whatever. Tie::ToObject provides a very tie constructor that simply returns the object it was given as it's first argument. That way the side effects of calling $object->TIEHASH are avoided.
20 lines
394 B
Makefile
20 lines
394 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2008/05/26 08:00:24 simon Exp $
|
|
|
|
COMMENT = tie to an existing object
|
|
|
|
MODULES = cpan
|
|
DISTNAME = Tie-ToObject-0.03
|
|
CATEGORIES = devel
|
|
|
|
MAINTAINER = Simon Bertrang <simon@openbsd.org>
|
|
|
|
# Perl
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
REGRESS_DEPENDS = ::devel/p5-Test-use-ok
|
|
|
|
.include <bsd.port.mk>
|