To create the data you see in the POD with scalar assignements you would have to write this:
$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
In reply to Re^5: SQL::Abstract 'between' clause (about done)
by jethro
in thread SQL::Abstract 'between' clause (about done)
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |