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