Ivanov_G
asked on
how to make config and locale files
My idea is to make the config and language files in the following format:
option = "some value"
second = "something else"
I need to make a package, which perform this:
my %config = ();
$config = ( option => "some value",
second => "something else"
);
How to parse the file in order to load its contents in hash?
option = "some value"
second = "something else"
I need to make a package, which perform this:
my %config = ();
$config = ( option => "some value",
second => "something else"
);
How to parse the file in order to load its contents in hash?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER