From 0d832c619d6cba1a40f65465e19be91028e5eeea Mon Sep 17 00:00:00 2001 From: Steve Hancock Date: Fri, 2 Oct 2020 15:43:20 -0700 Subject: [PATCH] update docs --- bin/perltidy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/perltidy b/bin/perltidy index c542cb47..25a23c69 100755 --- a/bin/perltidy +++ b/bin/perltidy @@ -1251,11 +1251,11 @@ program vulnerable to parsing problems by Perl. For example, the following two-line program will run as written but will have a syntax error if reformatted with -sfp: - if ( -e filename() ) { print "exists\n"; } + if ( -e filename() ) { print "I'm here\n"; } sub filename { return $0 } -The syntax error can be removed if the line order is reversed, so that -Perl parses 'sub filename' first. +In this particular case the syntax error can be removed if the line order is +reversed, so that Perl parses 'sub filename' first. =item B<-spp=n> or B<--space-prototype-paren=n> -- 2.39.5