Hi,
What is the difference between the following two queries in Perl?(using DBI)
Code:
$dbh->prepare(qq{SELECT COUNT(*) FROM Messages WHERE client_address=? AND Time_Stamp >= ?})
and
Code:
$dbh->prepare(SELECT COUNT(*) FROM Messages WHERE client_address=? AND Time_Stamp >= ?)
So in other words,what is the purpose of the qq part before the query. I have never used it before, but i've come accross a lot of samples where they use the qq and i can't find any explanation for the reason of this.
Does anyone know?
thanks