in reply to
Variable assignment after logical OR
Try this:
open FILE, ">test.txt" or $failed_flag = 1;
Comment on
Re: Variable assignment after logical OR
Download
Code
In Section
Seekers of Perl Wisdom