[pmwiki-users] PmWiki Perl module

Kathryn Andersen kat_lists at katspace.homelinux.org
Sat Aug 19 17:12:27 CDT 2006


On Thu, Aug 17, 2006 at 04:52:20PM -0500, Patrick R. Michaud wrote:
> On Thu, Aug 17, 2006 at 11:22:23PM +0200, Jean-Fabrice [gmail] wrote:
> > I would like to know if anybody is already using perl to
> > maintain/update their PmWiki.
> 
> Out of curiosity, any particular reason for choosing Perl instead
> of PHP to do it?

I'm not Jean-Fabrice, but I can think of a number of reasons:
- being able to use Perl modules from CPAN
- Perl has (nicer) language features than PHP, such as better
  scoping/namespaces (with PHP a variable is either global or local,
  wheras in Perl you can have variables which are specific to the package);
  easy to write object-oriented code (which brings more power and
  ease-of-code-reuse with it); terser use of regular expressions; the
  things you get "for free" in Perl are different to the things you get
  "for free" in PHP.
- simply being more experienced in Perl than in PHP

Thus I expect that what Jean-Fabrice wants to do is build on the
strengths of both PHP and Perl, by using the PHP of PmWiki to do what
PHP is good at (being web-oriented) and Perl to do what Perl is good at
(modularity, code reuse, building blocks).

Kathryn Andersen
-- 
 _--_|\     | Kathryn Andersen	<http://www.katspace.com>
/      \    | 
\_.--.*/    | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
      v     | 
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |	-> Earth -> Sol -> Milky Way Galaxy -> Universe




More information about the pmwiki-users mailing list