in reply to Re^4: "last expression" quiz
in thread "last expression" quiz

True, if you actually require the file. That probably is because then, the last statement isn't called in void context.

But you do get the warning if you try to test such a module for syntax errors using perl -wc FILE. Unless you actually use 1.