Thom Boyer 提到:
Audrey Tang wrote:$code = { "a" => 1, $b, $c ==> print };The examples above are from L<S04/"Statement parsing">.According to those rules, that last assignment to $code seems to be a hash, not code. Or does the C<< ==> >> mean that the contents aren't a list?
Correct, because "==>" binds looser than "," (i.e., Terminator is looser than Comma), so the toplevel in that block is not a list, but a feed.
Cheers, Audrey