The reply given by Bob highlights surrounding var names within regexes with
{}, ie., /${somevar}/. And though not related to your query, as a point of
readability, consider using the big-arrow key-value notation when appropriate
as in the current example, ie.,
my %hash = (1 => 'abc',
2 => 'xyz');
anything to the left of the big-arrow is implicitly quoted as well.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
