File tree Expand file tree Collapse file tree 2 files changed +9
-18
lines changed Expand file tree Collapse file tree 2 files changed +9
-18
lines changed Original file line number Diff line number Diff line change 1
1
# !/usr/bin/perl
2
2
3
- use v5.38 ;
3
+ use v5.40 ;
4
4
use JSON;
5
5
use File::Copy;
6
6
use Template;
Original file line number Diff line number Diff line change 1
- use v5.38 ;
2
- use experimental qw[ builtin class signatures] ;
1
+ use v5.40 ;
2
+ use experimental qw[ class signatures] ;
3
3
4
4
class PPC;
5
5
6
- use builtin ' trim' ;
7
-
8
6
use Pandoc;
9
7
10
- field $author :param = ' ' ;
11
- field $id :param;
12
- field $slug :param;
13
- field $sponsor :param = ' ' ;
14
- field $status :param;
15
- field $title :param;
16
-
17
- method author { return $author }
18
- method id { return $id }
19
- method slug { return $slug }
20
- method sponsor { return $sponsor }
21
- method status { return $status }
22
- method title { return $title }
8
+ field $author :param :reader = ' ' ;
9
+ field $id :param :reader;
10
+ field $slug :param :reader;
11
+ field $sponsor :param :reader = ' ' ;
12
+ field $status :param :reader;
13
+ field $title :param :reader;
23
14
24
15
method in_path {
25
16
return " $slug .md" ;
You can’t perform that action at this time.
0 commit comments