while (<CONFIG>) { $bar = $1 if /^frz\s*=\s*(\w+);/; }
Arjen
Update:Oops, forgot the (apparently) mandatory semicolon.
In reply to Re: Special Variable Pattern Match whilst reading input from a file
by Aragorn
in thread Special Variable Pattern Match whilst reading input from a file
by Withnail
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |