On Fri, 18 Mar 2005 11:27:56 +0100, Juerd <[EMAIL PROTECTED]> wrote: > Larry Wall skribis 2005-03-17 21:06 (-0800): > > oct and hex are arguably misnamed, since most functions are named by > > what they produce, not by what they take as input. I don't know what > > the replacement should be, though. Maybe it's not worth fixing. > > +"0x$_" # hex > +"0o$_" # oct > +"0b$_" # bin (does not exist in Perl 5)
Too bad sub names can't start with numbers: 0x $hex; # hex $hex 0x($hex); 0b $bin; 0o $oct; That would make sense to me. -- matt diephouse http://matt.diephouse.com