Both RFC 168 & 267 complain about the inability to override builtins. What
if p6 simply require all user defined functions to be called using the &func
syntax, and that builtins require the bareword syntax? This way any builtin
could be overridden and it would be immediately recognizable as an
overridden version. By implementing it this way, one could also assume that
the original could be 'inherited', by simply calling the builtin (i.e.,
C<sub ord{ my $val = shift; lc($val); return ord( val );}> - and call it
using C<&ord($str)>).
Grant M.
[EMAIL PROTECTED]


Reply via email to