Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^8: Read CSV with column mapping

by coretele (Novice)
on Dec 17, 2018 at 21:43 UTC ( #1227369=note: print w/replies, xml ) Need Help??

in reply to Re^7: Read CSV with column mapping
in thread Read CSV with column mapping

Thanks. This worked for me now. On the side note. How can I implement object oriented concept (encapsulation) in this same scenario? e.g. if I want to do following.
-> sub Initialize read config file and construct hash and return self object sub get_value(string parameter, string key) return value
config file:
parameter, key, value, id abc, xyz, 1, 100 blue, pqr, 0.1, 101

Replies are listed 'Best First'.
Re^9: Read CSV with column mapping
by poj (Abbot) on Dec 18, 2018 at 19:45 UTC

      Thank you! I made little change in the code as per our code standard and it worked perfectly fine. Thank you once again!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2022-05-23 11:29 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (81 votes). Check out past polls.