Ok so I have been searching for hours because I thought this would be easy but I can't seem to find anything so any help would be much appreciated. Here is what I have and what I am trying to do with it.
I have a file that is in perfect hash format. I want to be able to just read the file in as a hash. Here is a sample file of what I mean.
'Character' => {
'Someone' => {
'Level' => '60',
'Class' => 'Whatever',
},
}
That is how the file is laid out. Is there a way to just have it read in and build that hash? Thanks in advance.
-Alexander
I have a file that is in perfect hash format. I want to be able to just read the file in as a hash. Here is a sample file of what I mean.
'Character' => {
'Someone' => {
'Level' => '60',
'Class' => 'Whatever',
},
}
That is how the file is laid out. Is there a way to just have it read in and build that hash? Thanks in advance.
-Alexander