{ local *INPUT; open (INPUT, "file.ext") or warn "Cannot open file: $!" && return; print while (); close INPUT; }