On Mar 13, 2004, at 7:35 PM, Robert wrote: [..]
Where is a quick tutorial on using CPAN?
Using in the sense of getting modules
and compiling them for use.

Well there are are two questions you may be asking here

        a. perldoc CPAN - how the Cpan module works for you
        b. how to read through the information at the CPAN
                and how to pick and choose what you want to play with.

in the later category there is

<http://search.cpan.org/faq.html>

which is the short faq about the CPAN.

As an illustration, one just for the fun of it:
<http://search.cpan.org/~tscanlan/AI-Fuzzy-0.05/Fuzzy.pm>

will bring up a web-page about AI::Fuzzy - the perl extension
for the Fuzzy Logic Module. If you click on the 'source' you
can see the actual 'modules' source - as one would see it
with say
        perldoc -m AI::Fuzzy

but what you want to click on is the line above it that is
the AI-Fuzzy-0.05 which will take you to:

<http://search.cpan.org/~tscanlan/AI-Fuzzy-0.05/>

where there is a 'download' hot point, that will give you
the expected tar.gz file of the 'source distribution' that
you can make. The other hotpoints will include 'change'
information, as well as which CPAN testors have put together
any test information about it.

Sometimes the Module will rest upon actual XS code that will
need to be compiled, and you will need to make sure that
you read the README on those since some of them have 'known'
issues about various versions of Linux at different OS Rev's.

In this case there is a Testor's report that would take you to
<http://testers.cpan.org/show/AI-Fuzzy.html#AI-Fuzzy-0.05>
and it would tell you which OS Rev's it was tried with, did
they pass/fail...

At about this point if you haven't already picked up the 3rd
Edition of Programming Perl, and become familiar with the
sections on 'building perl modules' - you will clearly want
to start down that road. As you feel more at home with
how to build your own modules, you will find it easier to
decide which CPAN modules you find more useful, since they
will simplify your needing to build your own. Also look
for the 'learn perl references, objects, modules' by R. Schwartz,
it will help get you into module building as well...

HTH.

ciao
drieux

---


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to