$doc->toString =~ s/\u2028\u2029//g; $doc->toFH( $file_handle, 1 ); #### [error] Can't modify non-lvalue subroutine call at .....