Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion lib/Class/MOP.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Class::MOP;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion lib/Class/MOP/Attribute.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Class::MOP::Attribute;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion lib/Class/MOP/Class.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Class::MOP::Class;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion lib/Class/MOP/Class/Immutable/Trait.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Class::MOP::Class::Immutable::Trait;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion lib/Class/MOP/Deprecated.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Class::MOP::Deprecated;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion lib/Class/MOP/Instance.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Class::MOP::Instance;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion lib/Class/MOP/Method.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Class::MOP::Method;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion lib/Class/MOP/Method/Accessor.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Class::MOP::Method::Accessor;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion lib/Class/MOP/Method/Constructor.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Class::MOP::Method::Constructor;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion lib/Class/MOP/Method/Generated.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Class::MOP::Method::Generated;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion lib/Class/MOP/Method/Inlined.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Class::MOP::Method::Inlined;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion lib/Class/MOP/Method/Meta.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Class::MOP::Method::Meta;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion lib/Class/MOP/Method/Wrapped.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Class::MOP::Method::Wrapped;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion lib/Class/MOP/MiniTrait.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Class::MOP::MiniTrait;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion lib/Class/MOP/Mixin.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Class::MOP::Mixin;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion lib/Class/MOP/Mixin/AttributeCore.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Class::MOP::Mixin::AttributeCore;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion lib/Class/MOP/Mixin/HasAttributes.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Class::MOP::Mixin::HasAttributes;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion lib/Class/MOP/Mixin/HasMethods.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Class::MOP::Mixin::HasMethods;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion lib/Class/MOP/Mixin/HasOverloads.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Class::MOP::Mixin::HasOverloads;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion lib/Class/MOP/Module.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Class::MOP::Module;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion lib/Class/MOP/Object.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Class::MOP::Object;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion lib/Class/MOP/Overload.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Class::MOP::Overload;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion lib/Class/MOP/Package.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Class::MOP::Package;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use strict;
use warnings;
Expand Down
8 changes: 7 additions & 1 deletion lib/Moose.pm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use strict;
use warnings;
package Moose;
our $VERSION = '2.2208';
our $VERSION = '3.0000';
our $AUTHORITY = 'cpan:STEVAN';

use 5.008003;
Expand Down Expand Up @@ -136,6 +136,12 @@ Moose::Exporter->setup_import_methods(
'Carp::confess',
'Scalar::Util::blessed',
],
version_callback => sub {
my ($package, $version) = @_;
if ($version >= 3) {
Moose::Exporter->skip_strict($package, 1);
}
},
);

sub init_meta {
Expand Down
2 changes: 1 addition & 1 deletion lib/Moose/Deprecated.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Deprecated;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion lib/Moose/Exception.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
use Devel::StackTrace 2.03;
Expand Down
2 changes: 1 addition & 1 deletion lib/Moose/Exception/AccessorMustReadWrite.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::AccessorMustReadWrite;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::AddParameterizableTypeTakesParameterizableType;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
2 changes: 1 addition & 1 deletion lib/Moose/Exception/AddRoleTakesAMooseMetaRoleInstance.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::AddRoleTakesAMooseMetaRoleInstance;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
2 changes: 1 addition & 1 deletion lib/Moose/Exception/AddRoleToARoleTakesAMooseMetaRole.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::AddRoleToARoleTakesAMooseMetaRole;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
2 changes: 1 addition & 1 deletion lib/Moose/Exception/ApplyTakesABlessedInstance.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::ApplyTakesABlessedInstance;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::AttachToClassNeedsAClassMOPClassInstanceOrASubclass;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
2 changes: 1 addition & 1 deletion lib/Moose/Exception/AttributeConflictInRoles.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::AttributeConflictInRoles;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
2 changes: 1 addition & 1 deletion lib/Moose/Exception/AttributeConflictInSummation.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::AttributeConflictInSummation;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::AttributeExtensionIsNotSupportedInRoles;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
2 changes: 1 addition & 1 deletion lib/Moose/Exception/AttributeIsRequired.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::AttributeIsRequired;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::AttributeMustBeAnClassMOPMixinAttributeCoreOrSubclass;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
2 changes: 1 addition & 1 deletion lib/Moose/Exception/AttributeNamesDoNotMatch.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::AttributeNamesDoNotMatch;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
2 changes: 1 addition & 1 deletion lib/Moose/Exception/AttributeValueIsNotAnObject.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::AttributeValueIsNotAnObject;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
2 changes: 1 addition & 1 deletion lib/Moose/Exception/AttributeValueIsNotDefined.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::AttributeValueIsNotDefined;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
2 changes: 1 addition & 1 deletion lib/Moose/Exception/AutoDeRefNeedsArrayRefOrHashRef.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::AutoDeRefNeedsArrayRefOrHashRef;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
2 changes: 1 addition & 1 deletion lib/Moose/Exception/BadOptionFormat.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::BadOptionFormat;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
2 changes: 1 addition & 1 deletion lib/Moose/Exception/BothBuilderAndDefaultAreNotAllowed.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::BothBuilderAndDefaultAreNotAllowed;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
2 changes: 1 addition & 1 deletion lib/Moose/Exception/BuilderDoesNotExist.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::BuilderDoesNotExist;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::BuilderMethodNotSupportedForAttribute;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::BuilderMethodNotSupportedForInlineAttribute;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
2 changes: 1 addition & 1 deletion lib/Moose/Exception/BuilderMustBeAMethodName.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::BuilderMustBeAMethodName;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
2 changes: 1 addition & 1 deletion lib/Moose/Exception/CallingMethodOnAnImmutableInstance.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::CallingMethodOnAnImmutableInstance;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::CallingReadOnlyMethodOnAnImmutableInstance;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
2 changes: 1 addition & 1 deletion lib/Moose/Exception/CanExtendOnlyClasses.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::CanExtendOnlyClasses;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
2 changes: 1 addition & 1 deletion lib/Moose/Exception/CanOnlyConsumeRole.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::CanOnlyConsumeRole;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
2 changes: 1 addition & 1 deletion lib/Moose/Exception/CanOnlyWrapBlessedCode.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::CanOnlyWrapBlessedCode;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
2 changes: 1 addition & 1 deletion lib/Moose/Exception/CanReblessOnlyIntoASubclass.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::CanReblessOnlyIntoASubclass;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
2 changes: 1 addition & 1 deletion lib/Moose/Exception/CanReblessOnlyIntoASuperclass.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::CanReblessOnlyIntoASuperclass;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Moose::Exception::CannotAddAdditionalTypeCoercionsToUnion;
our $VERSION = '2.2208';
our $VERSION = '3.0000';

use Moose;
extends 'Moose::Exception';
Expand Down
Loading