in reply to Source Filter basics
Suggest you try Filter::Simple. It's not perfect but it's easier to use. This has nothing to do directly with your issue, of course.