in reply to Re^2: Code review
in thread Code review

The first version does not allow for empty @ARGV

That's not true. If you remove the if, sure, but noone said to do that.

Replies are listed 'Best First'.
Re^4: Code review
by hv (Prior) on Mar 07, 2024 at 11:43 UTC

    You're quite right, my apologies for the error.