good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Syntax Perl Version support $c = () = $a =~ /\./gby ikegami (Patriarch) |
on Jul 18, 2018 at 09:32 UTC ( [id://1218729]=note: print w/replies, xml ) | Need Help?? |
At least since 5.6. See Mini-Tutorial: Scalar vs List Assignment Operator and more specifically Perl Idioms Explained - my $count = () = /.../g.
In Section
Seekers of Perl Wisdom
|
|