summaryrefslogtreecommitdiff
path: root/pod/perlsub.pod
diff options
context:
space:
mode:
Diffstat (limited to 'pod/perlsub.pod')
-rw-r--r--pod/perlsub.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlsub.pod b/pod/perlsub.pod
index 602e5c0dda..7cdd893ef4 100644
--- a/pod/perlsub.pod
+++ b/pod/perlsub.pod
@@ -383,7 +383,7 @@ If this function is being sourced in from a separate file
via C<require> or C<use>, then this is probably just fine. If it's
all in the main program, you'll need to arrange for the my()
to be executed early, either by putting the whole block above
-your pain program, or more likely, placing merely a BEGIN
+your main program, or more likely, placing merely a BEGIN
sub around it to make sure it gets executed before your program
starts to run: