more on warn .. is next necessary

From: Harry Putnam (reader_at_newsguy.com)
Date: 03/29/04


To: beginners@perl.org
Date: Mon, 29 Mar 2004 12:16:12 -0600

I wasn't able to really understand perldoc -f warn.

I'm doing
use File::Find;
open(FILE,"<$File::Find::name")or warn "blah blah: $!";

Two things I'm unsure of:

1) is the `: $!' meaningfull here?
2) do I need a `next;' following to make `File::Find' go on to the next
found file?

If so, how do I let the `next' know that open has failed?
That is, how do I test exit status of open function? Is it just as
in shell programing ($?)?