Re: [perl #17035] [PATCH] chr support => strange behavior

2002-09-08 Thread Steve Fink
On Sun, Sep 08, 2002 at 11:50:10AM +0200, Peter Gibbs wrote: > Jerome Quelinm wrote: > > > In fact, I tried to change S0, and whatever S0 value is (I tried with > > > several values: "<", ">", "A", "0", " "), I always get a 60 as its > ordinal > > > value... > > > > I forgot to tell you: it doesn'

Re: [perl #17035] [PATCH] chr support => strange behavior

2002-09-08 Thread Jerome Quelin
On Dimanche 8 Septembre 2002 11:50, Peter Gibbs wrote : > This looks like a COW bug. Try the attached patch (untested). In fact, here's the minimal test case: $ cat p.pasm <" print I10 print "<\n" end EOF $ perl ../../assemble.pl p.pasm >P.pbc $ ../../parrot P.pbc >v< >97<

Re: [perl #17035] [PATCH] chr support => strange behavior

2002-09-08 Thread Peter Gibbs
Jerome Quelinm wrote: > > In fact, I tried to change S0, and whatever S0 value is (I tried with > > several values: "<", ">", "A", "0", " "), I always get a 60 as its ordinal > > value... > > I forgot to tell you: it doesn't work when I try to change S0 from the test > set. But when I try to put a

Re: [perl #17035] [PATCH] chr support => strange behavior

2002-09-08 Thread Jerome Quelin
On Dimanche 8 Septembre 2002 11:28, Jerome Quelin wrote : > In fact, I tried to change S0, and whatever S0 value is (I tried with > several values: "<", ">", "A", "0", " "), I always get a 60 as its ordinal > value... I forgot to tell you: it doesn't work when I try to change S0 from the test se

Re: [perl #17035] [PATCH] chr support => strange behavior

2002-09-08 Thread Jerome Quelin
On Jeudi 5 Septembre 2002 17:08, Dan Sugalski wrote : > At 3:04 PM + 9/5/02, Leon Brocard (via RT) wrote: > >I realise that proper Unicode support is coming, but it may be a while > >to get here. We currently have ord() and it makes sense to have a > >chr() as well, so that's what my patch pro

Re: [perl #17035] [PATCH] chr support

2002-09-05 Thread Dan Sugalski
At 3:04 PM + 9/5/02, Leon Brocard (via RT) wrote: >I realise that proper Unicode support is coming, but it may be a while >to get here. We currently have ord() and it makes sense to have a >chr() as well, so that's what my patch provides. Please apply, thanks ;-) Done. --

[perl #17035] [PATCH] chr support

2002-09-05 Thread via RT
# New Ticket Created by Leon Brocard # Please include the string: [perl #17035] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt2/Ticket/Display.html?id=17035 > I realise that proper Unicode support is coming, but it may be a while to get here. We