databases/p5-SQL-Interp 1.27 DragonFly
Interpolate Perl variables into SQL with DBI
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- databases, perl5
- Package size
- 29.5 KiB, 66.7 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.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | databases/p5-SQL-Interp | 1.27 |
| FreeBSD | databases/p5-SQL-Interp | 1.28 |
Install
Binary package:
pkg install p5-SQL-Interp
From DPorts:
cd /usr/dports/databases/p5-SQL-Interp && make install clean