in reply to Creating variables while using 'strict'

I suggest you keep using strict and use a hash!!!

You could build your SQL statements differently...

$SQL='select * from table where :name=:value'; $SQL=~s/:(\w+)/$data{$1}/g;

a better alternative for fixed fields (you are using DBI, right??)

$sth = $dbh->prepare('select * from table where name=?'); $rv=$sth->execute($data{name});