mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
1baf0aca01
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: http://search.cpan.org/dist/SQL-Interp/
8 lines
266 B
Plaintext
8 lines
266 B
Plaintext
%%SITE_PERL%%/%%PERL_ARCH%%/auto/SQL/Interp/.packlist
|
|
%%SITE_PERL%%/DBIx/Interp.pm
|
|
%%SITE_PERL%%/SQL/Interp.pm
|
|
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SQL/Interp
|
|
@dirrmtry %%SITE_PERL%%/SQL
|
|
@dirrmtry %%SITE_PERL%%/DBIx
|
|
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/SQL
|