in reply to Re: Pragma inside grep block
in thread Pragma inside grep block
but that confuse Deparse :Dgrep { ;no strict 'refs'; } qw(x);
Also worksperl -MO=Deparse use strict; use warnings; grep { ;no strict 'refs'; } qw(x); ^D use warnings; use strict 'refs'; grep {();} 'x'; - syntax OK
grep { do{ no strict 'refs'; } } qw(x)
|
|---|