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

Can't require ::('Foo') <&foo> in non GLOBAL namespace #4497

Closed
p6rt opened this issue Sep 1, 2015 · 3 comments
Closed

Can't require ::('Foo') <&foo> in non GLOBAL namespace #4497

p6rt opened this issue Sep 1, 2015 · 3 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Sep 1, 2015

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

Searchable as RT125951$

@p6rt
Copy link
Author

p6rt commented Sep 1, 2015

From @LLFourn

Or at least that's a rough approximation of the problem.

# main.pl

package Bar {
  our sub require_foo {
  require Foo <&foo>; #!>Trying to import symbols &foo from 'Foo',
but it does not export anything
  }
}

&Bar​::require_foo();

# lib/Foo.pm
sub foo is export { }

@p6rt
Copy link
Author

p6rt commented Mar 6, 2017

From @niner

Can no longer reproduce after commits 63cf5cac00, 3e86d0fa9a, 5b98caa35a and 6771deefa4 were merged.

@p6rt
Copy link
Author

p6rt commented Mar 6, 2017

@niner - Status changed from 'new' to 'resolved'

@p6rt p6rt closed this as completed Mar 6, 2017
@p6rt p6rt added the Bug 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