FreeBSD Ports

databases/p5-SQL-Interp 1.28

Interpolate Perl variables into SQL with DBI

Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
databases, perl5
Package size
30.4 KiB, 67.1 KiB installed

Description

SQL::Interp converts a list of intermixed SQL fragments and variable references into a conventional SQL string and list of bind values suitable for passing onto DBI. This simple technique creates database calls that are simpler to create and easier to read, while still giving you full access to custom SQL.

SQL::Interp properly binds or escapes variables. This recommended practice safeguards against "SQL injection" attacks. The DBI documentation has several links on the topic.

Besides the simple techniques shown above, The SQL-Interpolate distribution includes the optional DBIx::Interp module.

Install

As a binary package — by origin, or by package name:

pkg install databases/p5-SQL-Interp
pkg install p5-SQL-Interp

From the ports tree:

cd /usr/ports/databases/p5-SQL-Interp/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-SQL-Interp>0:databases/p5-SQL-Interp

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.281.281.271.281.28
FreeBSD:14:quarterly1.281.28n/a1.281.28
FreeBSD:15:latest1.281.28n/a1.281.28
FreeBSD:15:quarterly1.281.28n/an/an/a
FreeBSD:16:latest1.281.28n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

The full lists below include those, and their dependencies in turn.

All build dependencies 2
All run dependencies 2
Required by 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 4
  • %%SITE_PERL%%/DBIx/Interp.pm
  • %%SITE_PERL%%/SQL/Interp.pm
  • %%PERL5_MAN3%%/DBIx::Interp.3.gz
  • %%PERL5_MAN3%%/SQL::Interp.3.gz
distinfo 1
FileSizeSHA256
SQL-Interp-1.28.tar.gz4712121ef24256842ca43c6942c63bba692f288c0a173c1fd3beeb4b30f037439839b
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.