$where{user}= 'nwiger';
$where{completion_date}{-not_between}= ['2002-10-01', '2003-02-06'];
What would be a problem is if you used this as well:
$where{completion_date}= 5;
Because $where{completion_date} can't be pointer to a hash and scalar value at the same time. But nothing prevents you from storing further scalar values or hash pointers in $where{thingy} or $where{stuff} or $where{completion_date}{depperstuff}
A big help might be to watch Data::Dumper output of %where after you execute each of the above statements
|