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