in reply to Re^2: Modulino to report ip address changes
in thread Modulino to report ip address changes

"Almost all the members of the App namespace have lower case names."

I just typed "App::" into https://metacpan.org/. The list presented did have a lot that matched /^App::[a-z]/ but the majority matched /^App::[A-Z]/. I acknowledge that the list was incomplete. I don't see /^App::[a-z]/ as being a convention or even preferred usage.

"... App::cpanminus ... I think it is so that the command can be run from the command line ..."

I haven't spent any time investigating this. I know that App::cpanminus has the command cpanm, not cpanminus. I also know that the first module presented in the list I referred to above, App::Ack, has the command ack, not Ack.

"I want something runnable from the command line but at the same time testable."

As I said originally, "Without any code, it's not really possible to make many comments about this."; however, as it stands, I don't know what problem you're facing with a normal (non-modulino) module. Perhaps you could expand on this.

In closing, both ++NERDVANA#11147204 and ++eyepopslikeamosquito#11147206 make good comments about lib/ and bin/. Also, NERDVANA's remarks regarding naming are valid.

— Ken

Replies are listed 'Best First'.
Re^4: Modulino to report ip address changes
by davies (Monsignor) on Oct 03, 2022 at 19:29 UTC

    I have pushed a release candidate to github at https://github.com/DrJHD/ipchange. It's not final. I want to improve the POD to clarify that it is looking at public facing IP addresses. I am also thinking about a better name (thanks, NERDVANA, for the helpful advice). I have got Dist::Zilla to produce a CPAN-friendly tar.gz. It has been suggested that I change --email to --mailto and I would like any feedback on that (or anything else). The big stumbling block for me is working out how to put in a command that will go to somewhere like /usr/bin or C:\Strawberry\site\lib. Any pointers to docs on this would be extremely helpful.

    Regards,

    John Davies

    Update: I've now deleted the repository. The code has moved on & will shortly appear on CPAN, unless something strange happens. I'll post here when it's released, but if anyone really wants the repository back, I'll put it back up in response to a post or /msg.