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

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

2 participants

@tokuhirom

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
Test-More member

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 schwern added a commit that referenced this issue Nov 29, 2011
@schwern schwern Remove TB2::NoHistory, it is unmaintained and has no future.
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
2e26035
@schwern schwern closed this Nov 29, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment