FreeBSD.software
Home/databases/p5-SQL-Interp

p5-SQL-Interp

1.28databases

Interpolate Perl variables into SQL with DBI

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.

$pkg install p5-SQL-Interp
metacpan.org/release/SQL-Interp
Origin
databases/p5-SQL-Interp
Size
67.1KiB
License
ART10, GPLv1+
Maintainer
perl@FreeBSD.org
Dependencies
2 packages
Required by
1 packages

Dependencies (2)

Required By (1)