Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement $?PACKAGE in Rakudo #350

Closed
p6rt opened this issue Sep 30, 2008 · 4 comments
Closed

Implement $?PACKAGE in Rakudo #350

p6rt opened this issue Sep 30, 2008 · 4 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Sep 30, 2008

Migrated from rt.perl.org#59484 (status was 'resolved')

Searchable as RT59484$

@p6rt
Copy link
Author

p6rt commented Sep 30, 2008

From @masak

...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" }

@p6rt
Copy link
Author

p6rt commented Nov 11, 2008

From @jnthn

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

@p6rt
Copy link
Author

p6rt commented Nov 11, 2008

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Nov 11, 2008

@jnthn - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Nov 11, 2008
@p6rt p6rt added the Todo label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant