perl-PHP-Include - Include PHP files in Perl

Distribution: ROSA 2014.1
Repository: ROSA Contrib x86_64
Package name: perl-PHP-Include
Package version: 0.2
Package release: 9-rosa2014.1
Package architecture: noarch
Package type: rpm
Installed size: 14.04 KB
Download size: 12.65 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:2014.1

    Install Howto

    1. Enable ROSA 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.18.2/PHP/
    • /usr/lib/perl5/vendor_perl/5.18.2/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


    2014-07-25 - Denis Silakov <> 0.2-9 + Revision: b76544e - MassBuild#464: Increase release tag