execute($complex,$plaats,$straat,$teller)
or die "Connection Error: $DBI::errstr\n";
Not only will this free you from worrying about how to quote the
variables, but it allows you to re-use the same statement with different
variables by passing different arguments to execute again.
--
his is a web-based application, you should look at Apache::DBI:
http://search.cpan.org/~abh/Apache-DBI/DBI.pm
--
Greg Sabino Mullane [EMAIL PROTECTED]
End Point Corporation 610-983-9073
signature.asc
Description: This is a digitally signed message part
;).
Usage examples:
$ modver DBD::Pg
Version 1.49
$ modver Acme::Dynamite
No module found
$ modver Data::Dumper
Version 2.121
--
Greg Sabino Mullane [EMAIL PROTECTED] [EMAIL PROTECTED]
End Point Corporation
PGP Key: 0x14964AC8 20061005
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9
iously
created via the new method.
- --
Greg Sabino Mullane [EMAIL PROTECTED]
End Point Corporation
PGP Key: 0x14964AC8 200610021303
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-BEGIN PGP SIGNATURE-
iD8DBQFFIUdevJuQZxSWSsgRAjL0AKCnIBO/bdFgeOnDv2kBnYmv7/6eAwCeJm
uot;%s=%d\n", $_, &{"DBI::$_"};
}
In addition, whichever database driver you are using may have its own
type constants available. For example, if you are using Postgres, you
can specify:
use DBD::Pg (:pg_types);
Hope that helps.
--
Greg Sabino Mullane [EMAIL PROTECTED] [EMAIL