NAME
tf_modcheck.pl - Script to check module availability.
DESCRIPTION
This is a hacky little script for unit tests to use in order to determine whether a given module exists -- without the unit test having to load the module itself. Instead the module is loaded here, in a separate perl process. Why? Because some tests should only be run if certain modules have been installed, but Time::Format is supposed to detect and load those modules itself. If the unit test loaded them, it would affect Time::Format's operation.
This script should be run via the tf_module_check function of the special-purpose TimeFormat_MC module, which invokes the script and interprets its results.