Hi Shirl,

On Fri, 25 Jan 2013 18:49:10 -0800
"Shirl Hart" <sh9h...@gmail.com> wrote:

> Shlomi,
> As I mentioned earlier, this is my first attempt to upload to CPAN so I
> greatly appreciate your suggestions for improving my module. 

I'm glad you do and are not too territorial around your code and are open for
input. (A lot of developers unfortunately are).

> I'll try to
> incorporate your suggestions in my next release plus I was researching the
> Test-More framework so I could add some test. 

Sounds good. There are many higher-level extensions for Test-More, layers above
it, and various abstractions, but Test::More is still what many people use.
Some other stuff I like and use:

* https://metacpan.org/module/Test::Differences - better output for comparing
two scalars than is()/is_deeply().

* https://metacpan.org/release/Test-Count (my own distribution) - allows one to
keep track of the number of assertions by providing a mini-language-embeddded
in Perl comments for keeping track of tests. Lately, the trend among most
clueful CPAN authors appears to have been to move towards done_testing() and
without an explicit numeric plan, but I and some other people still prefer
counting assertions explicitly and Test-Count can help with that.

> I was considering using git-hub
> for my source but that also something new for me to dig into and try to
> understand. 

Yes, you should be using some kind of remote (and publicly accessible) hosting.
GitHub provides a very nice service, but I find that even though I have
several years of experience with CVS and Subversion (and a little with
BitKeeper - http://better-scm.shlomifish.org/bk/ - not sure anyone remembers
it now), I found that git often throws me off and requires me to search the
web or turn to #git for help. Mercurial
( http://en.wikipedia.org/wiki/Mercurial ) also throws me off sometimes, but
in different ways than git, but I still usually prefer it and
http://bitbucket.org/ usually (but sometimes settle on using GitHub just to use
what all the "cool kids"/hipsters are using). Anyway, the book
http://git-scm.com/book is pretty good, and it's available online under one of
the CC licences. 

> This is all new to me but at the same time I'm enjoying the
> experience very much. I plan on refactoring my code until it is structured
> better. I'm struggling with the code layout a bit. Again, thank you for your
> input and recommendations. Shirl Hart

You're welcome. I guess you have quite a lot to learn now (but everyone does in
this day and age, including people with many years of experience - see
http://www.joelonsoftware.com/articles/LordPalmerston.html ), so don't worry if
you get it a bit wrong at first. It is relatively easy to change, refactor (or
sometimes even rewrite) code to fix some original design decisions (as opposed
to more tangible forms of craftsmanship and engineering), and usually nothing in
software is set in stone, if you don't mind losing some backwards
compatibility.

Good luck and have fun.

Regards,

        Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Original Riddles - http://www.shlomifish.org/puzzles/

Flock aims to be the browser for the social web, but I found it to be the
completely anti-social browser.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

Reply via email to