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

Also, I have no idea what "prototypes" mean with respect to Perl. If I'm using any, it is in complete ignorance of what they are or what they are called. My previous version of the module, before I changed the subroutine formatting and added the "list" routine, did not generate such an error. It actually ran. So, I'm considering reverting all the work I put into such a nice formatting as I have now, and going back to what I had before. Ugly that works is better than useless beauty--though it could be somewhat less ugly than before.

Blessings,

~Polyglot~

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

Replies are listed 'Best First'.
Re^9: Listing out the characters included in a character class [v5.38]
by kcott (Archbishop) on Oct 30, 2023 at 15:24 UTC
    "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

      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~