in reply to Re^5: nesting loops help?
in thread nesting loops help?

Thanks, that looks a lot cleaner, I think I understand everything except the schedule parsing, in your example you're manually setting $wantedSchedule to 'Wanted', but in order to work as intended the script will need to take the variable output of I think $lineout which should be the info it gathered from $defsdata to see which schedule name to pull from $scheduleData, at least that's how it looks but then I don't know what your testing in the $wanted line above.

It's late and my laptop is off so I'll take a real look in the morning, not going to figure anything out on my phone with tired eyes.

I really appreciate the help though!