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

Documentation outdated - BSON.new is not possible on package. #11

Closed
bbkr opened this issue Aug 17, 2015 · 1 comment
Closed

Documentation outdated - BSON.new is not possible on package. #11

bbkr opened this issue Aug 17, 2015 · 1 comment

Comments

@bbkr
Copy link
Collaborator

bbkr commented Aug 17, 2015

Hi

perl6 -e 'use BSON; BSON.new;'
You cannot create an instance of this type
  in block <unit> at -e:1

Previously BSON was Role and it could be used as standalone object instance.
Now it is a package, but documentation still says in SYNOPSIS that BSON.new is valid usage.

@MARTIMM
Copy link
Owner

MARTIMM commented Aug 30, 2015

Thanks for mentioning, Sorry for the late response

Changed the readme. Can do now;
perl6 -e 'use BSON; BSON::Bson.new;'

@MARTIMM MARTIMM closed this as completed Aug 30, 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

2 participants