in reply to regex-codeblock calling subroutines?

Why do you want to do it as part of the regex? Why don't you split it out and do it within a while loop?

Being right, does not endow the right to be rude; politeness costs nothing.
Being unknowing, is not the same as being stupid.
Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.

  • Comment on Re: regex-codeblock calling subroutines?

Replies are listed 'Best First'.
Re^2: regex-codeblock calling subroutines?
by Anonymous Monk on Oct 15, 2004 at 15:25 UTC
    I suppose I *could* split it out, and will do that if all else fails. But then the functionality is in that one application. I think that if the dbi call can be made to work, then flexibility of the system would greater. I could then, with a certain text that a regexfile is to matched against, control the program flow depending on the outcome of certain found/not found queries. Also, many programs could use that lookup functionaliy.