beginners: Is unlink() supposed to provide an error message on failure? The documentation does not say so:
http://www.perl.com/doc/manual/html/pod/perlfunc/unlink.html Testing indicate that unlink() sets $! on failure: 2009-11-18 11:42:40 dpchr...@vmlamp ~ $ cat foo #! /usr/bin/perl print '$! = ', $!, "\n"; unlink 'no/such/file'; print '$! = ', $!, "\n"; 2009-11-18 11:42:49 dpchr...@vmlamp ~ $ perl foo $! = $! = No such file or directory TIA, David -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/