in reply to How is this syntax breaking my code?

One {} Pair interpolates in "" without -> not 2.
  • Comment on Re: How is this syntax breaking my code?

Replies are listed 'Best First'.
Re: Re: How is this syntax breaking my code?
by davorg (Chancellor) on May 17, 2001 at 12:57 UTC

    Not true. You can go down complex data structures as deeply as you want. And arrows are optional between two sets of brackets.

    --
    <http://www.dave.org.uk>

    "Perl makes the fun jobs fun
    and the boring jobs bearable" - me

      That might be true in 5.6. The Arrows are optional in Program text, but in ""?

        It's been true ever since references were added to the language in 5.0. And they are optional anywhere that you dereference a complex data structure (including within quotes). This is mentioned in perldoc perlref. If you think you have an example where this doesn't work then please post it.

        --
        <http://www.dave.org.uk>

        "Perl makes the fun jobs fun
        and the boring jobs bearable" - me