develooper Front page | perl.perl6.language | Postings from September 2005

Re: Stringification, numification, and booleanification of pairs

Thread Previous | Thread Next
From:
Juerd
Date:
September 23, 2005 03:08
Subject:
Re: Stringification, numification, and booleanification of pairs
Damian Conway skribis 2005-09-22 23:04 (+1000):
> I disagree. I think it's likely that people will think of ~$val and +$val 
> the same way (i.e. as "coerce the value"), but that they will think of 
> "$val" quite differently (i.e. as "interpolate a useful string 
> representation of the entire value").

But will they also see "foo" ~ $bar as something different from
"foo$bar"? And what context does "foo{ $bar }" use?

In my opinion, making the string value in interpolation different from
the value in Str context is madness.


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html

Thread Previous | Thread Next


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About