Luke Palmer wrote:
Matt Diephouse writes:
Juerd <[EMAIL PROTECTED]> wrote:
Matt Diephouse skribis 2005-03-18 13:35 (-0500):In that case, I propose, if more radical action is not taken, that
Too bad sub names can't start with numbers:But they can, if you call them prefix operators instead of subs. See
0x $hex; # hex $hex
also -e and alike operators, which start with a character that isn't
even \w.
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