in reply to Re^8: Listing out the characters included in a character class [v5.38]
in thread Listing out the characters included in a character class

"I have no idea what "prototypes" mean with respect to Perl."

Well, I provided you with a link: "Too many arguments for subroutine". That discusses prototypes, has links to Perl's official documentation as well as other PerlMonks' discussions. It's up to you whether you read it.

— Ken

  • Comment on Re^9: Listing out the characters included in a character class [v5.38]

Replies are listed 'Best First'.
Re^10: Listing out the characters included in a character class [v5.38]
by Polyglot (Chaplain) on Nov 01, 2023 at 13:14 UTC
    Well, I have now read that entire thread...and learned two things that pertain to my issue with "prototypes."
    1) The error is a red herring, because I am not using any prototypes in my code (never have); and

    2) The error would likely not exist if I were using an older version of Perl.

    I'm not impressed. It looks like, as someone else alluded to, the problem's source is not my code, but rather that of Test::more. Perhaps I should bid it farewell...but for now, I will just have to overlook the red herrings in the logs. On a more important note--could the inclusion of Test::more be the cause of any or all of my other troubles with this script? Hmmm....maybe I will have to try ditching it after all.

    Blessings,

    ~Polyglot~

      Removing Test::More and all of its rules DID eliminate ALL of the errors being logged to the log file. However, it did not change the functionality of the module, which still works on just half of the subroutines it exports--and I have changed all of those to the format ikegami suggested.

      Blessings,

      ~Polyglot~