Are you by chance trying to reinvent the Plugin wheel? If so, then why not just use (or take inspiration from) one of the Plugin architecture modules already available, eg. Plugin::Simple by stevieb.
If not, then it would likely be beneficial if you could elaborate on this apparent XY problem.
🦛
In reply to Re: using a variable with require
by hippo
in thread using a variable with require
by geoffleach
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |