diff --git a/dist.ini b/dist.ini index a7e621c..43780e5 100644 --- a/dist.ini +++ b/dist.ini @@ -1,4 +1,4 @@ -name = MasonX-MainMethod +name = MasonX-Compiler-Strict author = Ricardo Signes license = Perl_5 copyright_holder = Ricardo Signes diff --git a/lib/MasonX/MainMethod/Compiler.pm b/lib/MasonX/Compiler/Strict.pm similarity index 100% rename from lib/MasonX/MainMethod/Compiler.pm rename to lib/MasonX/Compiler/Strict.pm diff --git a/lib/MasonX/MainMethod/Component.pm b/lib/MasonX/MainMethod/Component.pm deleted file mode 100644 index 0504a58..0000000 --- a/lib/MasonX/MainMethod/Component.pm +++ /dev/null @@ -1,11 +0,0 @@ -use strict; -use warnings; -package MasonX::MainMethod::Component; -use parent 'HTML::Mason::Component::FileBased'; - -sub run { - my $self = shift; - $self->call_method(main => @_); -} - -1;