pod2usage (join "\n", @errors) if @errors; return %options; # <-- Add this line }