At least since 5.6. See Mini-Tutorial: Scalar vs List Assignment Operator and more specifically Perl Idioms Explained - my $count = () = /.../g.
In reply to Re: Syntax Perl Version support $c = () = $a =~ /\./g
by ikegami
in thread Syntax Perl Version support $c = () = $a =~ /\./g
by h2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |