On Mon, Oct 01, 2001 at 12:46:21PM +0200, birgit kellner wrote:
> Yes, I actually don't really understand these calls. What do the braces do?
> $regexp_func[$field] would be the array element number $field of
> @regexp_func.
Yes.
> Do the braces ensure that the variable is interpolated, to th
At 12:46 PM 10/1/01 +0200, birgit kellner wrote:
>>Whoever wrote the original code should not have tried to compress it that
>>much. The subroutine calls (&{$regexp_func[$field]}) are bad enough.
>
>Yes, I actually don't really understand these calls. What do the braces
>do? $regexp_func[$field]
thanks to all who helped me better understand this condensed bit of code.
--On Montag, 01. Oktober 2001 01:06 -0800 Michael Fowler
<[EMAIL PROTECTED]> wrote:
> Whoever wrote the original code should not have tried to compress it that
> much. The subroutine calls (&{$regexp_func[$field]}) are b
On Sat, Sep 29, 2001 at 03:24:11PM +0200, birgit kellner wrote:
> $in{'ma'} ? ($key_match = ($key_match or &{$regexp_func[$field]})) :
> (&{$regexp_func[$field]} or next LINE);
Perhaps expanding it out a bit more would ease your understanding:
if ($in{'ma'}) {
if ($key_match) {