Larry Wall wrote:

>: But this fragment dies:
>: 
>:  #sub foo
>:  #{
>:  #  bar { } unless baz
>:  #}
>I don't see how that's different at all from the first example.
>  
>

“#sub foo” is parsed as a comment token
“#{
# bar { }” is the next comment token

then we get “unless baz”

Unless you are balancing {}'s inside the # blocks, like q{ } does.

Sam.

Reply via email to