Welcome to the Monastery | |
PerlMonks |
Re: Submitting a module to cpan (Annovar::Wrapper Runner::Init )by Anonymous Monk |
on Jul 15, 2014 at 21:16 UTC ( [id://1093772]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|