I'm probably not understanding what exactly you need....but...as I see it, 
$err holds whatever error message that you captured with a regex.  So if you 
want to make a variable with the same name as the literal, dereference a 
variable with the name held in $err and the new var will autovivify:

($err) = ( $line =~ / ERR (\w+) /i );
my $$err;

I think.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to