Luke Palmer wrote:

Matt Diephouse writes:


Juerd <[EMAIL PROTECTED]> wrote:


Matt Diephouse skribis 2005-03-18 13:35 (-0500):


Too bad sub names can't start with numbers:
0x $hex; # hex $hex


But they can, if you call them prefix operators instead of subs. See
also -e and alike operators, which start with a character that isn't
even \w.


In that case, I propose, if more radical action is not taken, that
C<0x> and C<0o> become the new C<hex> and C<oct> (and a C<0b> for
binary as well).



Hmm. I like that idea. Quite a lot. Just like `if $x == 1 | 2`, this
is one of those things that a newbie to programming would ask "why can't
I do that?"



For the record, this is the currently what I plan on doing in S29 unless I hear a strong objection or something better.


-- Rod Adams

Reply via email to