On Mon, Dec 15, 2008 at 10:26 PM, Larry Wall <la...@wall.org> wrote:
> On Mon, Dec 15, 2008 at 04:43:51PM -0700, David Green wrote:
>> I can't really think of a great example where you'd want to numify a
>> pair, but I would expect printing one to produce something like "a =>
>> 23" (especially since that's what a one-element hash would print,
> Nope, would print "a\t23\n" as currently specced.
The point, though, is that stringification of a pair incorporates both
the key and the value into the resulting string. This is an option
that numification doesn't have.
As well, I'm pretty sure that "a\t23\n" doesn't numify. I'm beginning
to think that Pairs shouldn't, either; but if they do, they should
definitely do so by numifying the value of the pair.
Jonathan "Dataweaver" Lang