Have you considered structuring your files as modules instead?
This is exactly the sort of thing that I am moving away from...lots of require files. Thanks to the good influence of the Monastery, I am now using modules for new code. This whole refactoring project will revolve around rewriting require as use modules...
In reply to Re^3: Refactoring webcode to use templates
by Bod
in thread Refactoring webcode to use templates
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |