On Tue Sep 30 06:04:03 2008, masak wrote:
> ...as described in S02:
> 
>  <http://perlcabal.org/syn/S02.html#line_1944>
> 
> Package declarations are not implemented yet, but even without them,
> $?PACKAGE could be useful in the following case:
> 
> class A { say "This is class $?PACKAGE" }
> 
Implemented in r32567; for the example you give here we now get the
output "This is class A". Note that of you've got a reference to the
namespace, not the proto-object, which is what you'll be able to get
(IIUC) when $?CLASS is done.

Jonathan


Reply via email to