open FILE, "$file" or die "$!"; while (){ m/^frz\s=\s(\w+)\;/; print $1; } close FILE;