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) { $key_match = $key_match; } else { $key_match = &{ $regexp_func[$field] }; } } else { if (&{ $regexp_func[$field] }) { next LINE; } } Whoever wrote the original code should not have tried to compress it that much. The subroutine calls (&{$regexp_func[$field]}) are bad enough. Couple that with the ternary ?: operator, an assignment, and some trailing conditionals and you have a truly unreadable chunk of code. If you can, change it so that it's less dense. Michael -- Administrator www.shoebox.net Programmer, System Administrator www.gallanttech.com -- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]