My Perl Quiz

The ultimate place to learn Perl!

Question #29: What will be the value of $val?

my $str = 'aa bb cccc';

my $val = () = $str =~ /\w+/g;