Date: Mon, 2 Apr 2012 10:15:52 +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/devel Makefile ports/devel/p5-Carp Makefile distinfo pkg-descr pkg-plist Message-ID: <201204021015.q32AFqIN012166@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sunpoet 2012-04-02 10:15:52 UTC FreeBSD ports repository Modified files: devel Makefile Added files: devel/p5-Carp Makefile distinfo pkg-descr pkg-plist Log: - Add p5-Carp 1.25 The Carp routines are useful in your own modules because they act like die() or warn(), but with a message which is more likely to be useful to a user of your module. In the case of cluck, confess, and longmess that context is a summary of every call in the call-stack. For a shorter message you can use carp or croak which report the error as being from where your module was called. There is no guarantee that that is where the error was, but it is a good educated guess. WWW: http://search.cpan.org/dist/Carp/ Feature safe: yes Revision Changes Path 1.4913 +1 -0 ports/devel/Makefile 1.1 +21 -0 ports/devel/p5-Carp/Makefile (new) 1.1 +2 -0 ports/devel/p5-Carp/distinfo (new) 1.1 +8 -0 ports/devel/p5-Carp/pkg-descr (new) 1.1 +5 -0 ports/devel/p5-Carp/pkg-plist (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204021015.q32AFqIN012166>