You aren't doing anything wrong; the module just doesn't expect to run on
a platform that doesn't implement getpwuid. It can be fixed by changing
the -d (getpwuid($>))[7] on line 33 to eval { -d (getpwuid($>))[7] }. Reporting this to the module author would be a good idea.