my ( $self, $line ) = @_;
my $fh = $self->{_fh};
- my $output_file_open = $self->{_output_file_open};
- chomp $line;
- $line .= $self->{_line_separator};
+ my $line_separator = $self->{_line_separator};
+ if ( defined($line_separator) ) {
+ chomp $line;
+ $line .= $line_separator;
+ }
$fh->print($line) if ( $self->{_output_file_open} );
=over 4
+=item B<Update LineSink.pm to allow undefined line endings>
+
+This update is necessary to eventually prevent an unwanted
+terminal newline being added to a file.
+
+17 Jun 2021.
+
=item B<Fix incorrect sub call>
This fixes an incorrect call which could cause an incorrect weld.
-16 Jun 2021.
-
+16 Jun 2021, 068a28b.
=item B<Add --code-skipping option, see git #65>
without error checking. It is simmilar to --format skipping but there is no
error checking, and is useful for skipping an extended syntax.
-16 Jun 2021.
+16 Jun 2021, 99ec876.
=item B<Handle nested print format blocks>