sub construct_class_instance {
warn 'The construct_class_instance method has been made private.'
. " The public version is deprecated and will be removed in a future release.\n";
- goto &_construct_class_instance;
+ shift->_construct_class_instance;
}
# NOTE: (meta-circularity)
sub check_metaclass_compatibility {
warn 'The check_metaclass_compatibility method has been made private.'
. " The public version is deprecated and will be removed in a future release.\n";
- goto &_check_metaclass_compatibility;
+ shift->_check_metaclass_compatibility;
}
sub _check_metaclass_compatibility {
sub create_meta_instance {
warn 'The create_meta_instance method has been made private.'
. " The public version is deprecated and will be removed in a future release.\n";
- goto &_create_meta_instance;
+ shift->_create_meta_instance;
}
sub _create_meta_instance {
sub clone_instance {
warn 'The clone_instance method has been made private.'
. " The public version is deprecated and will be removed in a future release.\n";
- goto &_clone_instance;
+ shift->_clone_instance;
}
sub _clone_instance {
sub alias_method {
warn "The alias_method method is deprecated. Use add_method instead.\n";
- goto &add_method;
+ shift->add_method;
}
sub has_method {
sub initialize_body {
warn 'The initialize_body method has been made private.'
. " The public version is deprecated and will be removed in a future release.\n";
- goto &_initialize_body;
+ shift->_initialize_body;
}
sub _initialize_body {
sub generate_accessor_method {
warn 'The generate_accessor_method method has been made private.'
. " The public version is deprecated and will be removed in a future release.\n";
- goto &_generate_accessor_method;
+ shift->_generate_accessor_method;
}
sub _generate_accessor_method {
sub generate_reader_method {
warn 'The generate_reader_method method has been made private.'
. " The public version is deprecated and will be removed in a future release.\n";
- goto &_generate_reader_method;
+ shift->_generate_reader_method;
}
sub _generate_reader_method {
sub generate_writer_method {
warn 'The generate_writer_method method has been made private.'
. " The public version is deprecated and will be removed in a future release.\n";
- goto &_generate_writer_method;
+ shift->_generate_writer_method;
}
sub _generate_writer_method {
sub generate_predicate_method {
warn 'The generate_predicate_method method has been made private.'
. " The public version is deprecated and will be removed in a future release.\n";
- goto &_generate_predicate_method;
+ shift->_generate_predicate_method;
}
sub _generate_predicate_method {
sub generate_clearer_method {
warn 'The generate_clearer_method method has been made private.'
. " The public version is deprecated and will be removed in a future release.\n";
- goto &_generate_clearer_method;
+ shift->_generate_clearer_method;
}
sub _generate_clearer_method {
sub generate_accessor_method_inline {
warn 'The generate_accessor_method_inline method has been made private.'
. " The public version is deprecated and will be removed in a future release.\n";
- goto &_generate_accessor_method_inline;
+ shift->_generate_accessor_method_inline;
}
sub _generate_accessor_method_inline {
sub generate_reader_method_inline {
warn 'The generate_reader_method_inline method has been made private.'
. " The public version is deprecated and will be removed in a future release.\n";
- goto &_generate_reader_method_inline;
+ shift->_generate_reader_method_inline;
}
sub _generate_reader_method_inline {
sub generate_writer_method_inline {
warn 'The generate_writer_method_inline method has been made private.'
. " The public version is deprecated and will be removed in a future release.\n";
- goto &_generate_writer_method_inline;
+ shift->_generate_writer_method_inline;
}
sub _generate_writer_method_inline {
sub generate_predicate_method_inline {
warn 'The generate_predicate_method_inline method has been made private.'
. " The public version is deprecated and will be removed in a future release.\n";
- goto &_generate_predicate_method_inline;
+ shift->_generate_predicate_method_inline;
}
sub _generate_predicate_method_inline {
sub generate_clearer_method_inline {
warn 'The generate_clearer_method_inline method has been made private.'
. " The public version is deprecated and will be removed in a future release.\n";
- goto &_generate_clearer_method_inline;
+ shift->_generate_clearer_method_inline;
}
sub _generate_clearer_method_inline {
sub meta_instance {
warn 'The meta_instance method has been made private.'
. " The public version is deprecated and will be removed in a future release.\n";
- goto &_meta_instance;
+ shift->_meta_instance;
}
sub _meta_instance {
sub initialize_body {
warn 'The initialize_body method has been made private.'
. " The public version is deprecated and will be removed in a future release.\n";
- goto &_initialize_body;
+ shift->_initialize_body;
}
sub _initialize_body {
sub generate_constructor_method {
warn 'The generate_constructor_method method has been made private.'
. " The public version is deprecated and will be removed in a future release.\n";
- goto &_generate_constructor_method;
+ shift->_generate_constructor_method;
}
sub _generate_constructor_method {
sub generate_constructor_method_inline {
warn 'The generate_constructor_method_inline method has been made private.'
. " The public version is deprecated and will be removed in a future release.\n";
- goto &_generate_constructor_method_inline;
+ shift->_generate_constructor_method_inline;
}
sub _generate_constructor_method_inline {