Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^2: examples in CPAN distributions

by grinder (Bishop)
on Apr 25, 2007 at 11:32 UTC ( #611970=note: print w/replies, xml ) Need Help??

in reply to Re: examples in CPAN distributions
in thread examples in CPAN distributions

The tests of a module provide good clues as to how to use the module, but one has to realise that some of those tests may be there to see how the modules deals with incorrect usages. There may be lots of obscure corner case tests designed to achieve a high level of code coverage.

Sometimes it can be hard to spot what is essential.

Real examples are better in that there's none of the test infrastructure, or the test suite's goals, getting in the way. You can take one and then start to bend it into shape to solve your own task. This is my usual approach to HTML::Parser, since I don't use it enough to remember all of the API. Having a usable skeleton is a great way to start hanging lumps of flesh off it :)

Also, as far as conventions and standards regarding modules goes, if it isn't discussed on the module-authors mailing list, it will become neither. This is not to dismiss Perlmonks, but these things tend to get thrashed out over there. People sometimes don't realise that a lot of the Perl community doesn't hang out on Perlmonks.

• another intruder with the mooring in the heart of the Perl

Replies are listed 'Best First'.
Re^3: examples in CPAN distributions
by shigetsu (Hermit) on Apr 25, 2007 at 11:45 UTC

    People sometimes don't realise that a lot of the Perl community doesn't hang out on Perlmonks.

    May I take the freedom and point to somewhere else? is a pretty good start too.

    Please don't reply as it was merely intended as a pointer; we would be getting more and more offtopic if we'd do otherwise.

Re^3: examples in CPAN distributions
by zby (Vicar) on Apr 25, 2007 at 11:44 UTC
    I don't feel qualified to ask this question on module-authors mailing list - at least for the one reason that I have not read that list bofore. If anyone would ask this question on this list please post the link to the thread in the archives here if that is possible.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://611970]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (1)
As of 2022-05-18 19:55 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (71 votes). Check out past polls.