I'm trying to compile a CPAN bundle which will provide a Perl equivalent of the standard PHP function library for use in converting PHP scripts to Perl and for presenting Perl as a ready-to-go alternative to PHP. The aim is to have everything at one's fingertips to counter the fud about PHP being easier to use due to its packaging.

I would assume much of PHP's feature set is available somewhere on CPAN but that's the problem. Unless you know CPAN very well it's difficult to find exactly what you're looking for. Hence the project. What isn't available on CPAN will need to be written from scratch.

As my knowledge of CPAN isn't that deep I'm looking for assistance from Perl monks. I think it will be a valuable tool for re-asserting Perl's relevance for smaller web projects where PHP has become the de facto choice in recent years. I'm also looking to use this in college evening classes where there isn't the option of going online to CPAN every time you need something. Such a bundle would also enable web developers to quickly install a feature-complete development environment on a laptop for offline use.

Main PHP function groups

Apache-specific | Array | Bzip2 | Calendar | Class/object | CURL | Character-Type | Date & Time | DOM XML | Error Handling & Logging | Filesystem | FTP | Function Handling | Gettext | HTTP | iconv | Image | IMAP,POP3,NNTP | Mail | Mathematical | Mcrypt | Mhash | Mimetype | Miscellaneous | Multibyte String | MySQL (< 4.1) | Improved MySQL (>= 4.1) | Network | OpenSSL | Output Control | Object Overloading | PDF | PostgreSQL | Pspell | Session Handling | SimpleXML | Standard PHP Library (PHP5) | SOAP | Stream | String | TCP Wrappers | Tidy | URL | Variable | XML Parser | XML-RPC | XSL | XSLT | Zlib


In reply to Help with PHP-to-Perl CPAN bundle by gunzip

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.