NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
possible solution (Score:1)
I know this sort of thing works (on Postgres)
find({ date => \'>= Current_Timestamp' })
so I'm thinking you want something like:
my $version = $map->os_version;
# equality
find({ version => \"= $version" })
# greater than or equal to
find({ version => \">= $version" })
Reply to This
However, this worked better (Score:1)
... than the other suggested solution.
find()/find_or_create() did not accept 0+$num as a number. Thanks.