There are many ways to deal with open failures. Yours is
more common than his, but that doesn't make one better than
the other. Your messages appear on STDERR, his on
STDOUT. You exit with a failure status, he exits
successfully.
Just use whatever works best for you.
Abigail
Comment on Re: Uninitalised Values - What does it mean?