http://www.perlmonks.org?node_id=154147


in reply to Re: Re: Style geekcode
in thread Style geekcode

In your example, how do you distinguish between these?
++ <gt> ++< gt>

Update: Apparently he does it by reading the specs more carefully than I did. My bad.

buckaduck

Replies are listed 'Best First'.
Re: Re: Re: Re: Style geekcode
by Juerd (Abbot) on Mar 25, 2002 at 17:24 UTC

    In your example, how do you distinguish between these?
    ++ <gt> ++< gt>

    You don't have to. Both mean:

    • No space with ++
    • A space on both sides of comparison operators (except for ==)
    Valid ++ codes are:
    ++ <++ # These three ++> # have the <++> # same meaning
    So with "++<", the less-than sign is always part of the expression that comes after ++.

    U28geW91IGNhbiBhbGwgcm90MTMgY
    W5kIHBhY2soKS4gQnV0IGRvIHlvdS
    ByZWNvZ25pc2UgQmFzZTY0IHdoZW4
    geW91IHNlZSBpdD8gIC0tIEp1ZXJk