Re: [perl #38931] [RFE] Double-quoted strings automatically determine string type

2006-04-18 Thread Patrick R. Michaud
On Sun, Apr 16, 2006 at 06:24:58PM -0700, Audrey Tang via RT wrote: > Nicholas Clark wrote: > > IIRC having ASCII as the default was a deliberate design choice to avoid > > the confusion of "is it iso-8859-1 or is it utf-8" when encountering a > > string literal with bytes outside the range 0-127.

namespace bug 2?

2006-04-18 Thread Will Coleda
Here's another potential NS issue. It looks like find_global is being affected by the .namespace directive: it's my understanding it should only be affected by the .HLL directive. If you comment out the second .namespace in this code, it prints "ok". .$ cat foo.pir .HLL 'bork', '' .namespac

Re: namespace bug 2?

2006-04-18 Thread Leopold Toetsch
Will Coleda wrote: Here's another potential NS issue. It looks like find_global is being affected by the .namespace directive: Yes. It sets the current namespace below the HLL namespace. I think, this is the specced and correct behavior. leo

Re: namespace bug 2?

2006-04-18 Thread Will Coleda
From the PDD: - =item $P0 = find_global $P1, $S0 =item $P0 = find_global $S0 Find $P0 as the variable $S0 in the current namespace. or in $P1, relative to the HLL root namespace. - I'm using the first version, but it's relative to the namespace set in .namespace, not relative to t

Re: namespace bug 2?

2006-04-18 Thread Chip Salzenberg
On Tue, Apr 18, 2006 at 05:14:30PM +0200, Leopold Toetsch wrote: > Will Coleda wrote: > >Here's another potential NS issue. It looks like find_global is being > >affected by the .namespace directive: > > Yes. It sets the current namespace below the HLL namespace. > I think, this is the specced

Re: namespace bug 2?

2006-04-18 Thread Chip Salzenberg
On Tue, Apr 18, 2006 at 11:34:49AM -0400, Will Coleda wrote: > From the PDD: > =item $P0 = find_global $P1, $S0 > =item $P0 = find_global $S0 > Find $P0 as the variable $S0 in the current namespace. or in $P1, relative > to the HLL root namespace. Heh, I'm sleepy so I forgot that the C form propos

Re: namespace bug 2?

2006-04-18 Thread Will Coleda
On Apr 18, 2006, at 12:19 PM, Chip Salzenberg wrote: On Tue, Apr 18, 2006 at 11:34:49AM -0400, Will Coleda wrote: From the PDD: =item $P0 = find_global $P1, $S0 =item $P0 = find_global $S0 Find $P0 as the variable $S0 in the current namespace. or in $P1, relative to the HLL root namespace.

Re: namespace bug 2?

2006-04-18 Thread Chip Salzenberg
On Tue, Apr 18, 2006 at 12:42:38PM -0400, Will Coleda wrote: > On Apr 18, 2006, at 12:19 PM, Chip Salzenberg wrote: > >On Tue, Apr 18, 2006 at 11:34:49AM -0400, Will Coleda wrote: > >>On a side note, is there a way to get at the parent namespace if you have > >>a namespace? I don't see anything in

[svn:parrot-pdd] r12354 - in trunk: . docs/pdds/clip

2006-04-18 Thread allison
Author: allison Date: Tue Apr 18 13:45:23 2006 New Revision: 12354 Added: trunk/docs/pdds/clip/pdd22_io.pod trunk/docs/pdds/clip/pdd23_exceptions.pod (contents, props changed) trunk/docs/pdds/clip/pdd24_events.pod trunk/docs/pdds/clip/pdd25_threads.pod Removed: trunk/docs/pdds/cli

Re: early draft of exceptions PDD

2006-04-18 Thread Allison Randal
On Apr 8, 2006, at 19:49, Bob Rogers wrote: . . . =item * C creates an exception handler and pushes it onto the control stack. It takes a label (the location of the exception handler) as its only argument. [Is this right? Treating exception handlers as label jumps rathe