Skip to content

Conversation

@bertsky
Copy link
Contributor

@bertsky bertsky commented Feb 4, 2025

I don't know why I am the first to notice, but this is what you would get when using the -o / --output_filename option:

Undefined subroutine &DTA::TEI::Text::Transform::write_file called at /perl5/lib/perl5/DTA/TEI/Text/Transform.pm line 157.

In this fix I assume what is meant was File::Slurp. (Perhaps in a past version of perl this was implicit?)

The second commit ensures that stdout is only written if using -v / --to_stdout (as opposed to always, which defies providing the option in the first place, and does not make sense if you want to just use -o).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant