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 ($?)? 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to