unless (open(FILE,">temp")) { warn "error"; $x=1; } [download]
In reply to Re: Question about warn statement by dreadpiratepeter in thread Question about warn statement by Anonymous Monk