P
phillyfan
I have a file containing the following info:
{
'MGT6101' => {
'desc' => 'An examination of the tools and procedures used by
organizations to attract, select, and retain employees within the
context of the legal and regulatory environment.',
'title' => 'Managing Human Resources'
},
'MGT6015' => {
'desc' => 'The course covers cost estimation, standard costs,
variable costing, relevant costs, transfer pricing, performance
evaluation, cost of quality, and activity-based costing for service.',
'title' => 'Managerial Accounting II'
}
}
There are more lines in the file like these but you get the point. I
would like to be able to go thru the file and find the classname I want
(MGT6101) match it with another table's field and then do what I want
with the dec and title from MGT6101. Any ideas.
{
'MGT6101' => {
'desc' => 'An examination of the tools and procedures used by
organizations to attract, select, and retain employees within the
context of the legal and regulatory environment.',
'title' => 'Managing Human Resources'
},
'MGT6015' => {
'desc' => 'The course covers cost estimation, standard costs,
variable costing, relevant costs, transfer pricing, performance
evaluation, cost of quality, and activity-based costing for service.',
'title' => 'Managerial Accounting II'
}
}
There are more lines in the file like these but you get the point. I
would like to be able to go thru the file and find the classname I want
(MGT6101) match it with another table's field and then do what I want
with the dec and title from MGT6101. Any ideas.