Abigail wrote:
>> What am I missing?
>
>
>What you are missing is the new white space rule:
>
>    \s+{ }
>
>shall be always be a block. Hence the difference between
>"%hash {foo}" and "%hash{foo}".

So I take it readability is deprecated?

For instance:

      $some_nested_hash{very_long_descriptive_key}{another_key}...{last_key}

can no longer be broken into multiple lines, like this?

      $some_nested_hash{very_long_descriptive_key}
                       {another_key}
                       ...
                       {last_key}

Or does it depend on whether {some_key} "looks like" a statement block or
not?

[When I was first learning Perl, I was amazed that hash keys and subroutines
and statement blocks were not confused by the compiler. They confused me
until I got used to reading the context.]

-Shaun

Reply via email to