Commits

shl...@52c325ad-5fd0-0310-8a0f-c43feede02cc  committed 08c716e

Got rid of a temporary variable.

  • Participants
  • Parent commits 88397eb

Comments (0)

Files changed (1)

File perl/modules/XML-Grammar-Fiction/lib/XML/Grammar/Screenplay/FromProto/Parser/QnD.pm

     # Filter away empty paragraphs.
     if (defined($children) && @$children)
     {
-        my $new_elem =
+        $self->_add_to_top_tag(
             $self->_new_para(
                 $children
-            );
-
-        $self->_add_to_top_tag($new_elem);
+            )
+        );
     }
 
     $self->_in_para(0);