如果没有特定的发布日期(我怀疑它不是),您是否可以提供资源来跟踪它与允许发布的所需功能集的接近程度.
我不一定要求百分比衡量标准,或者Y要素的完整列表.在perl RT实例中跟踪Rakudo错误的任何部分中标记的错误列表都符合我的标准,如果列表是动态的,则更是如此(即,它是以某种方式标记的错误列表,而不是票证号的静态列表) .如果只有少数计划的功能在被认为可以进行最终测试之前还有待完成/测试,那么列出这些功能也就足够了.
具体来说,有没有办法实现相当于
my $string = 'this is some example text';
my $match = qr/foobar/;
print 'success' if $string !~ $match;
Run Code Online (Sandbox Code Playgroud)
仅使用=〜,而不使用否定运算符?
具体来说,我需要确保一个字符串与提供的值不匹配,并且测试函数接受正则表达式对象,并将它们积极地应用于该值. 该值根本不会出现在搜索到的字符串中,这会使前瞻和后瞻断言复杂化.
像下面这样的东西可能是一个很好的测试:
my $string = 'this is some example text';
my $match =~ qr/foobar/;
# $negated_match contains $match, or some transformed variation of it
my $negated_match = qr/$YOUR_REGEX_HERE/;
die 'failure' if $string =~ $match;
print 'success' if $string =~ $negated_match;
Run Code Online (Sandbox Code Playgroud)
我怀疑有一种方法可以通过环顾四周的断言来做到这一点,但还没有解决它.perl特定答案是可以接受的.
这是相关数据
SELECT item_group_id
,item_id
,invoice_id
FROM item
WHERE item_group_id = 92480
# Results
92480 215342 88902
92480 215343 88902
92480 215344 88902
92480 215345 88902
92480 215346 90690
92480 215347 90690
92480 215348 NULL
92480 215349 NULL
Run Code Online (Sandbox Code Playgroud)
这是直接查询
SELECT MAX(item_group_id) [item_group_id]
,MAX(invoice_id) [invoice_id]
FROM item
WHERE item_group_id = 92480
GROUP BY invoice_id
# Results
92480 NULL
92480 88902
92480 90690
Run Code Online (Sandbox Code Playgroud)
这是子查询
SELECT i.item_group_id
,i.invoice_id
FROM (
SELECT MAX(item_group_id) [item_group_id]
,MAX(invoice_id) [invoice_id]
FROM item
GROUP BY invoice_id
) i
WHERE i.item_group_id …Run Code Online (Sandbox Code Playgroud)