in reply to Modules return value

> Is there ever a time when one might want it to return false?

let's suppose the module compiles fine but won't work because of other unmet requirements...

... like the right operation system: E.g it's meant to run on Win only, but was installed on Linux.

Keep in mind that bare code in modules can be executed at compile-time when used, it's essentially an eval in a BEGIN after all.

Other examples are INC-hooks which are pseudo modules used for more esoteric things which might fail. (I need to check if the rest of @INC is searched in case of false then...)

Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery