Skip to content

Commit eded214

Browse files
committed
Remove bashisms from CLI examples
1 parent b9be630 commit eded214

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Changes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Revision history for Modern::Perl
22

33
{{$NEXT}}
4+
- bash doesn't like !' in double quotes, so it stuck up for awk
45

56
1.20200201 2020-01-31 18:41:36-08:00 America/Los_Angeles
67
- fix tests for Perl 5.32 (Tony Cook, RT #131608)

lib/Modern/Perl.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,11 @@ Modern Perl tutorial.
105105
106106
As of Modern::Perl 2019, you may also enable this pragma from the command line:
107107
108-
$ perl -Modern::Perl -e "say 'Take that, awk!'"
108+
$ perl -Modern::Perl -e 'say "Take that, awk!"'
109109
110110
You may also enable year-specific features:
111111
112-
$ perl -Modern::Perl=2020 -e "say 'Looking forward to Perl 5.30!'"
112+
$ perl -Modern::Perl=2020 -e 'say "Looking forward to Perl 5.30!"'
113113
114114
=head2 Wrapping Modern::Perl
115115

0 commit comments

Comments
 (0)