New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PATCH] Typo in -c section of perldoc perlrun #15616
Comments
From catchperl@33k.co.ukCreated by catchperl@33k.co.ukA typo in the -c section of perldoc perlrun Perl Info
|
From catchperl@33k.co.uk0001-Fix-typo-in-perlrun.pod.patchFrom 93bbacdf31d94cf6b56e205b6b137d27ac6adeaa Mon Sep 17 00:00:00 2001
From: Steven Humphrey <catchperl@33k.co.uk>
Date: Tue, 20 Sep 2016 12:42:39 +0100
Subject: [PATCH] Fix typo in perlrun.pod
s/and/any/
perl -c documentation has a typo when talking about BEGIN blocks.
---
pod/perlrun.pod | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pod/perlrun.pod b/pod/perlrun.pod
index 12cba35..9d59a6a 100644
--- a/pod/perlrun.pod
+++ b/pod/perlrun.pod
@@ -345,7 +345,7 @@ You can also use binmode() to set the encoding of an I/O stream.
X<-c>
causes Perl to check the syntax of the program and then exit without
-executing it. Actually, it I<will> execute and C<BEGIN>, C<UNITCHECK>,
+executing it. Actually, it I<will> execute any C<BEGIN>, C<UNITCHECK>,
or C<CHECK> blocks and any C<use> statements: these are considered as
occurring outside the execution of your program. C<INIT> and C<END>
blocks, however, will be skipped.
--
2.9.3
|
From @jkeenanOn Tue Sep 20 04:47:55 2016, catchperl@33k.co.uk wrote:
Thanks for spotting that. Applied to blead in commit 2c4188f. As this typo was introduced in commit f4750da on 2011-05-02, it is eligible for backporting to the next point release of perl-5.24. -- |
The RT System itself - Status changed from 'new' to 'open' |
@jkeenan - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#129313 (status was 'resolved')
Searchable as RT129313$
The text was updated successfully, but these errors were encountered: