Protection against trailing spaces in embed.fnc
[p5sagit/p5-mst-13.2.git] / embed.pl
index 0a878d6..30cc3ad 100755 (executable)
--- a/embed.pl
+++ b/embed.pl
@@ -107,6 +107,7 @@ sub walk_table (&@) {
            $_ .= <IN>;
            chomp;
        }
+       s/\s+$//;
        my @args;
        if (/^\s*(#|$)/) {
            @args = $_;