On Thu, Oct 27, 2011 at 7:27 PM, Michael Alan Dorman <mdorman@ironicdesign.com> wrote:

Any ideas on how to resolve this issue?

Try moving the route code into subroutines and calling those subs' references in the route definition.
Tell me how it goes.