in reply to Variables in regex pattern match give strange results.

Zaxo covered this, but one thing he left out

use strict; use warnings;
would have immediately caught this.

Yves / DeMerphq
--
When to use Prototypes?