I was about to write up a module that exports lots of functions. It's for testing purposes to create interesting, semi-random, complicated objects for testing which I refer as "The Sims" -- in the "let's create people and then throw them into a torturous environment and see how they react" sense.
Anyhow, it's going to export a huge pile of sim_* functions (whether or not that's a good idea is immaterial). I don't want to have to remember to update an @EXPORT variable dissociated from declaring the function. I'm going to forget. The obvious answer would seem to be to make exporting an attribute of the subroutine. And that's just what Exporter::Simple does. Unfortunately it doesn't really work and there doesn't appear to be an easy fix.
* Is there an existing module that works and does what I want?
* If not, can Exporter::Simple be fixed?
* If not, could you write an Export-by-attribute system that does work?
* If not, could you write something that allows the export information to be conveniently placed near the subroutine?