push @ary, "foo" unless grep { "foo" } @ary;
is a funny way to say
push @ary, "foo" if 0 == @ary;
so it is just TIMTOWTDI ;-)
In reply to Re: "Useless use of a constant" in grep block?
by shmem
in thread "Useless use of a constant" in grep block?
by perlancar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |