|Name : perl-PHP-Include
|Version : 0.2
||Vendor : Mandriva
|Release : 7mdv2011.0
||Date : 2010-07-26 03:37:26
|Group : Development/Perl
||Source RPM : perl-PHP-Include-0.2-7mdv2011.0.src.rpm
|Size : 0.01 MB
|Packager : Funda Wang < fwang_mandriva_org>
|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/2011/i586/media/contrib/release