in reply to Question about warn statement
open (FILE, '>', "temp") or do { warn "error message"; $x=1 }; [download]