Using map in a void context in Perl

前端 未结 0 719
北荒
北荒 2021-01-06 18:50

There is a Perl code line below where I get the error as map used in void context:

map { $total_ids += scalar @{$ids->{$_}} } @brands;
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题