in reply to Re: Embedded function or subroutine - which is better?
in thread Embedded function or subroutine - which is better?

Blimey!, as we say here in England.

I just re-read about sub routines in my Camel book, and have never ever heard about omitting the & - just a 'subroutine();' does it!

I just changed my code to have a sub debug; and it works great and seems more fluid!

Many thanks for your wisdom!

Regards, Nick

P.S. sorry, was replying then saw your update - the '==' was a mistake by me just typing in from a bad memory - should be 'eq' of course!

  • Comment on Re^2: Embedded function or subroutine - which is better?