Hi there. Thanks for File::XDG. If the constructor is provided with an unexpected argument (in addition to the required name argument), then it dies with an error message. Which indeed it is supposed to ... but not like this:
perl -MFile::XDG -E "say File::XDG->new(name => 'whatever', unexpected => 'something else')"
Undefined subroutine &File::XDG::corak called at /usr/local/share/perl/5.30.0/File/XDG.pm line 23.
Hi there. Thanks for
File::XDG
. If the constructor is provided with an unexpected argument (in addition to the requiredname
argument), then itdie
s with an error message. Which indeed it is supposed to ... but not like this:Version 0.06 introduced the errant “corak”.