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

"require" broken in rakudo 2015.09 #4544

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

"require" broken in rakudo 2015.09 #4544

p6rt opened this issue Sep 18, 2015 · 3 comments

Comments

@p6rt
Copy link

p6rt commented Sep 18, 2015

Migrated from rt.perl.org#126096 (status was 'rejected')

Searchable as RT126096$

@p6rt
Copy link
Author

p6rt commented Sep 18, 2015

From @moritz

mlenz@​mlenz-workstation​:~/p6/DBIish (master)$ perl6-m -Ilib -e 'require
"DBDish​::SQLite"'
Could not find file 'DBDish​::SQLite' for module DBDish​::SQLite
  in block <unit> at -e​:1

But there is a lib/DBDish/SQLite.pm6, as demonstrated by the success of
a "use"​:

mlenz@​mlenz-workstation​:~/p6/DBIish (master)$ perl6-m -Ilib -e 'use
DBDish​::SQLite;'
mlenz@​mlenz-workstation​:~/p6/DBIish (master)$ perl6-m --version
This is perl6 version 2015.09-2-gd2d975e built on MoarVM version
2015.09-4-g002edea

We'll need a bugfix release on top of 2015.09; as long as this bug is
present, any attempt to create a star release based on 2015.09 will be
futile.

@p6rt
Copy link
Author

p6rt commented Sep 20, 2015

From @moritz

On Fri Sep 18 07​:58​:21 2015, moritz.lenz@​noris.de wrote​:

mlenz@​mlenz-workstation​:~/p6/DBIish (master)$ perl6-m -Ilib -e 'require
"DBDish​::SQLite"'
Could not find file 'DBDish​::SQLite' for module DBDish​::SQLite
in block <unit> at -e​:1

Turns out the proper syntax is

  require :​:('DBDish​::SQLite');

@p6rt
Copy link
Author

p6rt commented Sep 20, 2015

@moritz - Status changed from 'new' to 'rejected'

@p6rt p6rt closed this as completed Sep 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant