Is it possible to force list context in a conditional?
A variation of the "Saturn" operator does the trick: if ( 2 == ( () = $outs =~ m|A|gs ) )
In reply to Re: most terse regex match count
by haukex
in thread most terse regex match count
by bliako
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |