Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

CPAN - Taking things for granted?

by kiat (Vicar)
on Sep 06, 2005 at 19:12 UTC ( #489640=perlmeditation: print w/replies, xml ) Need Help??

Hi Monks,

Recently, I helped develop a site in PHP and had to write a script to output some user-supplied data in PDF.

Being so used to Perl's CPAN, I naturally thought I would be able to find some sort of PHP module to do it. So I googled...

I found two but you need to buy a commerical license to use them ( and Not that appealing...

So I googled more and found a few others but they were all over the place - nothing like a repository site to host them.

I downloaded three (I think) and eventually got one to work.

And I suppose it wouldn't be easy to find support on the module's usage or to report bugs because of the lack of a central repository.

That brings me to CPAN.

I did a search and easily found a module that converts a document to a PDF format

And that brings me to the point: I almost took CPAN for granted but I shall from now on be grateful it's there.

Replies are listed 'Best First'.
Re: CPAN - Taking things for granted?
by zby (Vicar) on Sep 06, 2005 at 19:28 UTC
    It's not that comprehensive as CPAN but there is a PHP equivalent: PEAR.
      Definitely not as comprehensive. I'm glad that PEAR exists, but my experience so far shows that it's a lot less likely to have what I want than CPAN.
      Thanks, zby!

      I came across that name but at the point of searching, it didn't occur to me that PEAR was PHP's equivalent of CPAN.

      Anyhow, none of my searches yielded results pointing to PEAR.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://489640]
Approved by gellyfish
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2021-03-02 08:58 GMT
Find Nodes?
    Voting Booth?
    My favorite kind of desktop background is:

    Results (42 votes). Check out past polls.