David Christensen wrote:
beginners:

Hello,

Is unlink() supposed to provide an error message on failure?

Yes. All Perl functions that interact with the underlying system will set $! on failure. ($! is the same as errno in C.)

man 3 errno
man 2 unlink



John
--
The programmer is fighting against the two most
destructive forces in the universe: entropy and
human stupidity.               -- Damian Conway

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to