Show
Ignore:
Timestamp:
04/06/09 10:25:07 (5 years ago)
Author:
tokuhirom
Message:

use new_object instead of construct_instance

06:46 @autarch:> tokuhirom_: MX::Plaggerize is using ->construct_instance, you can switch

it to ->new_object and it should just work, but the former will be
deprecated soon

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/MooseX-Plaggerize/trunk/t/03_run_hook_filter.t

    r13004 r31976  
    55my $context = Moose::Meta::Class->create_anon_class( 
    66    roles        => ['MooseX::Plaggerize'], 
    7 )->construct_instance; 
     7)->new_object; 
    88 
    9 my $plugin = Moose::Meta::Class->create_anon_class()->construct_instance; 
     9my $plugin = Moose::Meta::Class->create_anon_class()->new_object; 
    1010 
    1111{