summaryrefslogtreecommitdiff
path: root/win32/bin
diff options
context:
space:
mode:
Diffstat (limited to 'win32/bin')
-rw-r--r--win32/bin/pl2bat.pl24
1 files changed, 14 insertions, 10 deletions
diff --git a/win32/bin/pl2bat.pl b/win32/bin/pl2bat.pl
index d3a9c0b779..cdbac6f273 100644
--- a/win32/bin/pl2bat.pl
+++ b/win32/bin/pl2bat.pl
@@ -251,16 +251,20 @@ be used.
One approach is:
- #!perl
- while( <DATA> ) {
- last if /^__END__$/;
- [...]
- }
- __END__
- lines of data
- to be processed
- __END__
- :endofperl
+ . #!perl
+ . while( <DATA> ) {
+ . last if /^__END__$/;
+ . [...]
+ . }
+ . __END__
+ . lines of data
+ . to be processed
+ . __END__
+ . :endofperl
+
+The dots in the first column are only there to prevent F<cmd.exe> to interpret
+the C<:endofperl> line in this documentation. Otherwise F<pl2bat.bat> itself
+wouldn't work. See the previous item. :-)
=item The batch file always "succeeds"