1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

This module offers a set of DBI-specific exception classes.

Essentially it allows try {} catch{} within perl for database errors.

PR:		ports/87491
Submitted by:	Rod Taylor <ports@rbt.ca>
This commit is contained in:
Sergey Matveychuk 2005-10-20 20:46:41 +00:00
parent 735d21c741
commit 9909d8c4e7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=145969
5 changed files with 40 additions and 0 deletions

View File

@ -209,6 +209,7 @@
SUBDIR += p5-DBZ_File
SUBDIR += p5-DWH_File
SUBDIR += p5-Data-Page
SUBDIR += p5-Exception-Class-DBI
SUBDIR += p5-GDBM
SUBDIR += p5-GraphViz-DBI
SUBDIR += p5-Ima-DBI

View File

@ -0,0 +1,26 @@
# New ports collection makefile for: p5-Exception-Class
# Date created: 15 October 2005
# Whom: Rod Taylor <ports@rbt.ca>
#
# $FreeBSD$
#
PORTNAME= Exception-Class-DBI
PORTVERSION= 0.92
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Exception
PKGNAMEPREFIX= p5-
MAINTAINER= ports@rbt.ca
COMMENT= DBI Exception objects
BUILD_DEPENDS= ${SITE_PERL}/Exception/Class.pm:${PORTSDIR}/devel/p5-Exception-Class \
${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_MODBUILD= yes
MAN3= Exception::Class::DBI.3
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (Exception-Class-DBI-0.92.tar.gz) = 7b8032fdf31ccab88d19d1446c6fe741
SIZE (Exception-Class-DBI-0.92.tar.gz) = 10056

View File

@ -0,0 +1,8 @@
This module offers a set of DBI-specific exception classes. They
inherit from Exception::Class, the base class for all exception
objects created by the Exception::Class module from the CPAN.
Exception::Class::DBI itself offers a single class method, handler(),
that returns a code reference appropriate for passing to the DBI
HandleError attribute.
WWW: http://search.cpan.org/dist/Exception-Class-DBI/

View File

@ -0,0 +1,3 @@
%%SITE_PERL%%/Exception/Class/DBI.pm
@unexec rmdir %D/%%%SITE_PERL%%/Exception/Class 2>/dev/null || true
@unexec rmdir %D/%%%SITE_PERL%%/Exception 2>/dev/null || true