The substr solution assumed a newline to be present. The new solution will not remove the newline if it goes missing in the future. Apparently this is idiomatic perl. Thanks pennae for the suggestion!main
parent
1b4f4ddb5b
commit
82da0794c2
Loading…
Reference in new issue