Subject: | Test::Without::Module->import leaks memory |
‘use Foo’ is generally expected to be idempotent. In Test::Without::Module’s case, it keeps adding the same sub to @INC, creating a memory leak.
Watch the memory usage go up:
$ perl -MTest::Without::Module -e 'warn $$; while(1){ import Test::Without::Module }'