Re: string representations

2001-10-09 Thread Aaron Sherman
On Tue, Oct 09, 2001 at 03:13:22PM -0500, Jonathan Scott Duff wrote: > the following would be equivalent: > > $a = "foo\r\n"; > print $a; > print _$a; > print eval(repr($a)); > > That's probably a poor example of its utility, but I'm not as well > versed i

string representations

2001-10-09 Thread Jonathan Scott Duff
In Python there are two string representations for objects: the canonical representation repr() and the normal (human readable) string representation str(). Would we want this dichotomy in perl 6 as well? The main difference between the two is that strings returned from repr() are directly