in reply to Parsing line by line

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^2: Parsing line by line
by Eily (Monsignor) on Jan 14, 2015 at 17:55 UTC

    This won't even compile:
    - you have C++ style comments
    - you have either forgotten the { } or tried to use the postfix modifier syntax but put the unless first
    - you declare a scalar ($record) and use a hash (%record)
    - there's a missing )

    Also $record == {} checks if the hash in $record has the same address/ID as a brand new, and different hash. This is always false.

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re^2: Parsing line by line
by karlgoethebier (Abbot) on Jan 19, 2015 at 11:12 UTC
    "The creation of computer software, believe it or not, is quite easy. The creation of correct computer software, on the other hand, is hard."

    Source.

    Update: fixed link.

    Regards, Karl

    ĞThe Crux of the Biscuit is the Apostropheğ