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.
A.pm
config file:-> sub Initialize read config file and construct hash and return self object sub get_value(string parameter, string key) return value
Thanks.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 | |
by coretele (Novice) on Dec 25, 2018 at 04:47 UTC |
In Section
Seekers of Perl Wisdom