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

There is no TB2::NoHistory->default #241

Closed
tokuhirom opened this issue Nov 29, 2011 · 1 comment
Closed

There is no TB2::NoHistory->default #241

tokuhirom opened this issue Nov 29, 2011 · 1 comment

Comments

@tokuhirom
Copy link
Contributor

SYNOPSIS code doesn't works.
https://metacpan.org/module/MSCHWERN/Test-Simple-1.005000_002/lib/TB2/NoHistory.pm

use TB2::NoHistory;
TB2::NoHistory->default;

Can't locate object method "default" via package "TB2::NoHistory" at - line 2.

@schwern
Copy link
Contributor

schwern commented Nov 29, 2011

Thanks for spotting that. TB2::History (and thus subclasses) were changed to no longer need a default object.

TB2::NoHistory is likely to go away, TB2::History will not record events by default (see #198), so I might as well just delete it before it confuses people.

schwern added a commit that referenced this issue Nov 29, 2011
TB2::History will take over this role eventually (see #198).  Meanwhile, there's no
point in letting people rely on a half implementation that's going to be deleted.

For #241
@schwern schwern closed this as completed Nov 29, 2011
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