You don't tell us what's going wrong, but I'm going to guess that changing the bottom of your subroutine to look like:
pod2usage (join "\n", @errors) if @errors;
return %options; # <-- Add this line
}
will fix it.
- In general, if you think something isn't in Perl, try it out, because it usually is. :-)
- "What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against?"