|Name : perl-PHP-Include
|Version : 0.2
||Vendor : Mandriva
|Release : 7mdv2010.0
||Date : 2009-09-07 10:43:18
|Group : Development/Perl
||Source RPM : perl-PHP-Include-0.2-7mdv2010.0.src.rpm
|Size : 0.01 MB
|Packager : Thierry Vignaud < tvignaud_mandriva_com>
|Summary : Include PHP files in Perl
|Description : |
PHP::Include builds on the shoulders of Filter::Simple and Parse::RecDescent to
provide a Perl utility for including very simple PHP Files from a Perl program.
When working with Perl and PHP it is often convenient to be able to share
configuration data between programs written in both languages. One solution to
this would be to use a language independent configuration file (did I hear
someone say XML?). Another solution is to use Perl\'s flexibility to read PHP
and rewrite it as Perl. PHP::Include does the latter with the help of
Filter::Simple and Parse::RecDescent to rewrite very simple PHP as Perl.
Filter::Simple is used to enable macros (at the moment only one) which
cause PHP to be interpolated into your Perl source code, which is then parsed
using a Parse::RecDescent grammar to generate the appropriate Perl.
PHP::Include was designed to allow the more adventurous to add grammars that
extend the complexity of PHP that may be included.
RPM found in directory: /mirror/carroll.cac.psu.edu/pub/linux/distributions/mandrakelinux/official/2010.1/i586/media/contrib/release