aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-SQL-Interp/pkg-descr
blob: f3b316c151e4fea087d47c6e7858df8263dce328 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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.

WWW: https://metacpan.org/release/SQL-Interp