]> iEval git - gruntmaster-page.git/blobdiff - lib/Gruntmaster/Page.pm
Remove public generate function from Gruntmaster::Page
[gruntmaster-page.git] / lib / Gruntmaster / Page.pm
index c7f92bbf5a599c8ba57625a7d0012b7e937d71c2..e0086507d16027ecdd5100512b83cfcf5ebb797a 100644 (file)
@@ -3,8 +3,6 @@ package Gruntmaster::Page;
 use 5.014000;
 use strict;
 use warnings;
-use parent qw/Exporter/;
-our @EXPORT_OK = qw/generate _generate/;
 
 use Fcntl qw/:flock/;
 use File::Basename qw/fileparse/;
@@ -48,7 +46,7 @@ sub declaregen{
        declaregen 'Pb::Entry'          => qr,^${contest}pb/$component$,;
 }
 
-sub _generate{
+sub generate{
        my ($path) = @_;
        my ($path_noext, $ext) = $path =~ m/^(.*)\.(.*)$/;
        my ($basename, $directories) = fileparse $path_noext;
@@ -79,10 +77,6 @@ sub _generate{
        close $typemap;
 }
 
-sub generate{
-       PUBLISH 'genpage', shift;
-}
-
 1;
 __END__
 # Below is stub documentation for your module. You'd better edit it!
This page took 0.019982 seconds and 4 git commands to generate.