If a callback does not require arguments, we do not need to create the anonymous list, since Perl treats scalar values, evaluated in list context, as single-element arrays.
如果回调不需要参数,则我们不需要创建那个匿名列表,因为Perl按单元素数组来处理列表上下文中计算得到的数量值。
If a callback does not require arguments, we do not need to create the anonymous list, since Perl treats scalar values, evaluated in list context, as single-element arrays.
如果回调不需要参数,则我们不需要创建那个匿名列表,因为Perl按单元素数组来处理列表上下文中计算得到的数量值。
应用推荐