[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#5172: stupid warning message in perl



Package: perl
Version: 5.003-2

`perl -w' issues a warning if you have any code after an "exec" call.
The code *will* be reached if the exec fails, so it's vital that it's
there, rather than being a likely programming error.

richard@sfere:richard$ src/watcher
Statement unlikely to be reached at src/watcher line 170.
(Maybe you meant system() when you said exec()?)
src/watcher: /etc/watcher.conf: No such file or directory
richard@sfere:richard$ 

-- 
Richard Kettlewell               http://www.elmail.co.uk/staff/richard/
       uk.legal: Why clog up newsgroups with shit when they are already
                 clogged with people from Whitby?
    Mike Corley: Well, why not? It's something to do, isn't it?

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: