perl-PHP-Include - Include PHP files in Perl

Distribution: OpenMandriva Cooker
Repository: OpenMandriva Contrib x86_64
Package name: perl-PHP-Include
Package version: 0.2
Package release: 9-omv2015.0
Package architecture: noarch
Package type: rpm
Installed size: 14.05 KB
Download size: 12.62 KB
Official Mirror:
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.



  • perl(PHP::Include)
  • perl(PHP::Include::Vars)
  • perl-PHP-Include == 0.2-9:2015.0

    Install Howto

    1. Enable OpenMandriva Contrib repository on Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install perl-PHP-Include rpm package:
      # urpmi perl-PHP-Include


    • /usr/lib/perl5/vendor_perl/5.20.1/PHP/
    • /usr/lib/perl5/vendor_perl/5.20.1/PHP/Include/
    • /usr/share/doc/perl-PHP-Include/Changes
    • /usr/share/doc/perl-PHP-Include/README
    • /usr/share/man/man3/PHP::Include.3pm.xz
    • /usr/share/man/man3/PHP::Include::Vars.3pm.xz