diff --git a/lib/PostText/Model/Remark.pm b/lib/PostText/Model/Remark.pm index a8fbddf..4bd49d1 100644 --- a/lib/PostText/Model/Remark.pm +++ b/lib/PostText/Model/Remark.pm @@ -25,10 +25,6 @@ sub by_page_for($self, $thread_id, $this_page = 1) { END_SQL } -sub per_page($self, $value = undef) { - $self->per_page = $value // $self->per_page -} - sub create($self, $thread_id, $author, $body, $hidden = 0, $flagged = 0) { my @data = ($thread_id, $author, $body, $hidden, $flagged); diff --git a/script/post_text b/script/post_text index babb02b..c057a56 100755 --- a/script/post_text +++ b/script/post_text @@ -3,7 +3,7 @@ # PostText v0.1 # Jul 22 -use v5.36; +use v5.34; use Mojo::File qw{curfile}; use lib curfile->dirname->sibling('lib')->to_string; use Mojolicious::Commands;