On 2005-08-22, Michael Peters <mpeters-aUYv5hkjw45l57MIdRCFDg@xxxxxxxxxxxxxxxx>
wrote:
>
>> Too magical ?
>
> I don't think it's too magical. This is essentially what ::ValidateRM
> does to right?
You are right. It would simply be consistent, which is a good thing.
ValidateRM uses a /method name/, not a /run mode name/. Although they
are the same thing nearly all the time, using a run mode name is more
flexible, since it can call anonymous subroutines and works with
::Forward.
So for those small percentage of cases, I think we should be
inconsistent with ::ValidateRM by using the run mode name here instead
of the method name.
Since this is a new feature, we can also add in the ::Forward behavior
in the initial version, which should provide better support for
automatic templating naming in the target run mode.
Mark
---------------------------------------------------------------------
Web Archive:
http://www.mail-archive.com/cgiapp-svx1JCNWaqPWzzAP45jFb16hYfS7NtTn@xxxxxxxxxxxxxxxx/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail:
cgiapp-unsubscribe-svx1JCNWaqPWzzAP45jFb16hYfS7NtTn@xxxxxxxxxxxxxxxx
For additional commands, e-mail:
cgiapp-help-svx1JCNWaqPWzzAP45jFb16hYfS7NtTn@xxxxxxxxxxxxxxxx
|