[perl #41790] [PATCH] Change sub's get_string to return short name

2007-03-14 Thread Matt Diephouse via RT
Applied in r17484 with updated tests and a test for the get_namespace() method.

Re: [perl #41790] [PATCH] Change sub's get_string to return short name

2007-03-13 Thread Allison Randal
Matt Diephouse wrote: Jonathan Worthington <[EMAIL PROTECTED]> wrote: Will Coleda (via RT) wrote: > So, since we can we can already get the current namespace with: > > current_ns = interp['namespace'] > This isn't a full replacement of the functionality we'd "lose", since you may want to get th

Re: [perl #41790] [PATCH] Change sub's get_string to return short name

2007-03-12 Thread Matt Diephouse
Jonathan Worthington <[EMAIL PROTECTED]> wrote: Will Coleda (via RT) wrote: > So, since we can we can already get the current namespace with: > > current_ns = interp['namespace'] > This isn't a full replacement of the functionality we'd "lose", since you may want to get the namespace of a sub ot

Re: [perl #41790] [PATCH] Change sub's get_string to return short name

2007-03-12 Thread Jonathan Worthington
Will Coleda (via RT) wrote: I have some work for Tcl pending commit that requires I know the name a .Sub was invoked with at runtime, so I need a way to get at the name at runtime. Currently, the following code (jisom++) .sub main :main 'foo'() .end .sub 'foo' print "We're

[perl #41790] [PATCH] Change sub's get_string to return short name

2007-03-11 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #41790] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=41790 > I have some work for Tcl pending commit that requires I know the name a .Sub was invoke