From: Rafael Garcia-Suarez Date: Tue, 30 Nov 2004 13:02:16 +0000 (+0000) Subject: Protection against trailing spaces in embed.fnc X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=23f1b5c33b8efaff2ad0117faec6cd90c54000cb;p=p5sagit%2Fp5-mst-13.2.git Protection against trailing spaces in embed.fnc p4raw-id: //depot/perl@23568 --- diff --git a/autodoc.pl b/autodoc.pl index 5e7b3c2..c106408 100644 --- a/autodoc.pl +++ b/autodoc.pl @@ -45,6 +45,7 @@ sub walk_table (&@) { $_ .= ; chomp; } + s/\s+$//; my @args; if (/^\s*(#|$)/) { @args = $_; diff --git a/embed.pl b/embed.pl index 0a878d6..30cc3ad 100755 --- a/embed.pl +++ b/embed.pl @@ -107,6 +107,7 @@ sub walk_table (&@) { $_ .= ; chomp; } + s/\s+$//; my @args; if (/^\s*(#|$)/) { @args = $_;