Skip to content

Commit 3044065

Browse files
committed
RFC 0018: use Markdown more rigorously
1 parent baefc73 commit 3044065

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

rfcs/rfcOVID-0018.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
## Abstract
1111

1212
This RFC proposes a feature which, when used, causes the current Perl file to
13-
to yield a true value when C<require>d, eliminating the need for a "1" (or
13+
to yield a true value when `require`, eliminating the need for a "1" (or
1414
other true value) at the end of the file.
1515

1616
## Motivation
@@ -29,14 +29,14 @@ side-effect.
2929

3030
use feature 'module_true';
3131

32-
B<Note>: the feature name is not settled, C<yield_true>, C<module_true>, and
33-
C<module_is_true> have all been suggested.
32+
**Note**: the feature name is not settled, `yield_true`, `module_true`, and
33+
`module_is_true` have all been suggested.
3434

3535
Code using the above does not need to end in a true value when required.
3636

3737
If the module explicitly returns a false value, module loading will fail as it
3838
does now. If the module author wants the module to fail to load under certain
39-
conditions, they should use C<die> or a similar mechanism with an appropriate
39+
conditions, they should use `die` or a similar mechanism with an appropriate
4040
error message rather than returning false.
4141

4242
## Backwards Compatibility
@@ -67,7 +67,9 @@ when `use v5.XX;` is used.
6767
It's been discussed that we should return the package name instead. This
6868
supports:
6969

70-
my $obj = (require Some::Object::Class)->new;
70+
```perl
71+
my $obj = (require Some::Object::Class)->new;
72+
```
7173

7274
However, per haarg:
7375

0 commit comments

Comments
 (0)