Hello module authors, I am preparing a new module for upload to CPAN. Currently it is named Net::PJLink, as it is an implementation of the PJLink network protocol (used for controlling multimedia projectors). However, I read the warning at https://pause.perl.org/pause/authenquery?ACTION=pause_namingmodules#Net and thought it would be best to make sure before requesting the namespace. Is there a more appropriate name for this module?
My second question concerns writing tests for this module. Most of the module's functionality is based on formatting and parsing network messages. I've thought of making the test fork a listener process that the tests can connect to, but I think that might cause problems on some platforms and firewalls. I could put special functions in the module that would return the network message instead of sending it, but that wouldn't really be testing the network functionality. So, what is the best method of testing something that uses network sockets? Thanks! = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Confidentiality Notice for North Kansas City Schools: This correspondence and any attachments are for the sole use of the intended recipient(s) and may contain confidential or privileged information. Any unauthorized use, disclosure, or distribution is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to the intended recipient(s), please contact the sender and destroy all copies of the original message. = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =