You mean that DBI queries should be written:
my $query = $dbh->prepare ( "select id, name from user where name = ?" ); $query->execute( $name_from_params );
Instead of:
my $query = $dbh->prepare ( "select id, name from user " . "where name = '$name_from_params'" ); $query->execute();
Couldn't agree more.

--tidiness is the memory loss of environmental mnemonics


In reply to Re: Answer: What are placeholders in DBI, and why would I want to use them? by EvdB
in thread What are placeholders in DBI, and why would I want to use them? by btrott

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":