By name and purpose, a "plug-in" can't make assumptions about the makeup of the objects it will work with.
See, for example, CGI::Application and how its plugins work. It's just Exporter bringing in things as requested.
There's no reason that plugins couldn't be written to work with Alter in some way, but many existing plugins violate the assumption you stated.
-xdg
Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
In reply to Re^7: Beyond Inside-Out
by xdg
in thread Beyond Inside-Out
by Anno
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |