Steve Price > Linux-DVB-DVBT-Apps-QuartzPVR > Linux::DVB::DVBT::Apps::QuartzPVR::Config::PHP

Download:
Linux-DVB-DVBT-Apps-QuartzPVR-0.07.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 2.003   Source  

NAME ^

PHP - PHP include file reader

SYNOPSIS ^

use PHP ;

DESCRIPTION ^

This module makes simple PHP modules accessible as Perl modules.

NOTE: For Windows testings, just add the PHP library path(s) to PERL5LIB

AUTHOR ^

Steve Price

BUGS ^

None that I know of!

INTERFACE ^

PHP::debug($level)

Set debug print options to $level.

 0 = No debug
 1 = standard debug information
 2 = verbose debug information
PHP::verbose($level)

Set vebose print options to $level.

 0 = Non verbose
 1 = verbose print
PHP::require_php($module [, $namespace])

Loads in the PHP module named $module. Searches the directories listed in @PHP_INC and loads the first PHP module found. Looks for php with the module name and extension '.php' or '.inc'.

Optionally the namespace that the variables will be loaded into can be specified via $namespace. The default is to load into the namespace $module.

If a PHP module is sucessfully loaded, it is logged in the hash %PHP_INC and not re-loaded.

syntax highlighting: