in reply to Inlining method/function calls?
Suggestion. Perform the test for existance inline and only call the function if the value must be extracted from the header. The overhead of the function call will likely be lossed in the code of invoking the regex engine.
Question: Why do you use that substr expression? You have captured the value to $1 (if it exists) in order to set @- and @+. Why not just use $1?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Inlining method/function calls?
by diotalevi (Canon) on Jul 28, 2003 at 03:22 UTC |