This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add a missing switch to a documentation example
authorE. Choroba <choroba@matfyz.cz>
Wed, 5 Feb 2020 13:26:27 +0000 (14:26 +0100)
committerKarl Williamson <khw@cpan.org>
Wed, 5 Feb 2020 15:46:34 +0000 (08:46 -0700)
The switch is mentioned in the next paragraph.

It was removed in 428bacd701ef45155f9dfd0d9c3d063dc305de00, probably
by accident (the commit message isn't much informative).

pod/perlrun.pod

index 09a4795..23b7629 100644 (file)
@@ -80,7 +80,7 @@ The sequences "-*" and "- " are specifically ignored so that you could,
 if you were so inclined, say
 
     #!/bin/sh
-    #! -*-perl-*-
+    #! -*- perl -*- -p
     eval 'exec perl -x -wS $0 ${1+"$@"}'
         if 0;