$colname="COLB"; $from="20110101"; $to="20110131"; $where{$colname}{'-between'} = [$from,$to];