Date: Mon, 10 Oct 2011 03:23:56 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/x11-toolkits Makefile ports/x11-toolkits/p5-Tk-Role-HasWidgets Makefile distinfo pkg-descr pkg-plist Message-ID: <201110100323.p9A3Nu4Y097013@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sunpoet 2011-10-10 03:23:56 UTC FreeBSD ports repository Modified files: x11-toolkits Makefile Added files: x11-toolkits/p5-Tk-Role-HasWidgets Makefile distinfo pkg-descr pkg-plist Log: - Add p5-Tk-Role-HasWidgets 1.112380 When programming Tk, it's almost always a good idea to keep a reference to the widgets that you created in the interface. Most of the time, a simple hash is enough; but it is usually wrapped up in methods to make the hash private to the window object. And of course, those methods are duplicated in all modules, under a form or another. Since duplication is bad, this module implements a Moose role implementing those methods once and forever. This implies that your class is using Moose in order to consume the role. WWW: http://search.cpan.org/dist/Tk-Role-HasWidgets/ Revision Changes Path 1.575 +1 -0 ports/x11-toolkits/Makefile 1.1 +33 -0 ports/x11-toolkits/p5-Tk-Role-HasWidgets/Makefile (new) 1.1 +2 -0 ports/x11-toolkits/p5-Tk-Role-HasWidgets/distinfo (new) 1.1 +11 -0 ports/x11-toolkits/p5-Tk-Role-HasWidgets/pkg-descr (new) 1.1 +3 -0 ports/x11-toolkits/p5-Tk-Role-HasWidgets/pkg-plist (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110100323.p9A3Nu4Y097013>