Depending on what the real code looks like I would probably be pretty pissed to inherit it. It seems like the code layout is fairly arbitrary. And while you will find some range of opinions on the topic, code comments are an extremely poor substitute for Pod and history files and I only welcome comments where they are brief and clarify business logic decisions or explain why a sub-optimal choice is necessary (dependencies, side-effect, legacy support) and not just bad code.
moritz has probably given the best idea from what I can understand of the problem. Roles (via Moose) would allow (and really steer) better categorization/separation of parts of your code while making its end use more intuitive. Moose is not easy to dive into but it's really cool once you do and the community is supportive.
In reply to Re: perl writing tips needed
by Your Mother
in thread perl writing tips needed
by baxy77bax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |