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)
In reply to Re^2: Pragma inside grep block
by Anonymous Monk
in thread Pragma inside grep block
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |