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] would be the array element number $field of >@regexp_func. Do the braces ensure that the variable is interpolated, to >the effect that the subroutine with the value of $regexp_func[$field] as >its name is called?
With that effect, yes, but it is not "interpolation" in the sense Perl employs the term. The braces establish the scope of evaluation for the parser. -- Peter Scott Pacific Systems Design Technologies http://www.perldebugged.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]