Subject: | Mark certain OS as unsupported |
The module does not 'fail early' on unsupported platforms. Please
update the Makefile.PL and the module documentation to state that it is
only supported on BLAH BLAH platforms.
In Makefile.PL:
die("No support for OS\n") if $^O ...;
Perhaps something more generic (testing if the interface to the memory
system used, for example) would be more appropriate, but that is an
implementation detail.
Something similar should also be in place _early_ in the module load
process within the Memory/Usage.pm file.
Also update README and module documentation with something to the effect of:
This module makes use of the proc file system,
specifically /proc/$pid/statm. Unless your system
supports that interface, this module is unsupported.
Examples of supported environments are ...
--MLX