in reply to Submitting a module to cpan
Hi, some notes for your consideration
Well, http://pause.perl.org/incoming/ doesn't list any Annovar... or master anymore, I guess its been processed
Also, use lib "/home/guests/jir2004/perlmodule/Runner-Init/lib"; doesn't belong in modules
Hard coded paths like that don't belong in stuff you upload to cpan at all
In your programs, use FindBin or File::FindLib or some such to to add to @INC at runtime
For your own personal machine you can also manage installed modules the INSTALL_BASE way ( local::lib way ) as demonstrated in Re^3: object version does not match bootstrap parameter ( cpanm --local-lib PERL5LIB)
data such as "bin\slurmtest" generally is put in "t" directory not bin -- bin is for programs :) either "t" directory or a "share" dir
OTOH, the names of your modules seem , unguided :) http://pause.perl.org/pause/query?ACTION=pause_namingmodules#NAMES_TO_AVOID
Runner::Init introduces Runner which isn't a good top level namespace (its new), maybe IPC::Runner cause it exists?
Annovar another toplevel namespace ... not sure how ANNOVAR works, but maybe it belong somewhere in Bio::Tools::Run::Annovar (not sure about this either as I don't Bio:: at all)?
To complete the circle for others who might be interested in commenting on these things of yours
PrePAN - Runner::Slurm, Runner::Threads, and Runner::MCE
PrePAN - Annovar::Wrapper
https://github.com/jerowe/Runner-Init
https://github.com/jerowe/Annovar-Wrapper
|
---|