Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Parsing line by line

by sundialsvc4 (Abbot)
on Jan 14, 2015 at 16:53 UTC ( #1113248=note: print w/replies, xml ) Need Help??


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»

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1113248]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2022-07-01 17:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (100 votes). Check out past polls.

    Notices?