Whilst looking at Slim::Web::ImageProxy, I noticed that some of the used packaged weren’t actually used.
There is a command perlimports that can work this out for us, so I have added a configuration file for it. We could run this on everything in Slim/, but it isn’t perfect, and there is a risk it would remove something that we actually need, so I haven’t done that yet.
Thanks for this! I'll definitely have to play with this tool. After refactoring one of my plugins I just spent too much time trying to do this kind of cleanup.
Whilst looking at
Slim::Web::ImageProxy
, I noticed that some of theuse
d packaged weren’t actually used.There is a command
perlimports
that can work this out for us, so I have added a configuration file for it. We could run this on everything inSlim/
, but it isn’t perfect, and there is a risk it would remove something that we actually need, so I haven’t done that yet.