WebDyne
view release on metacpan or search on metacpan
lib/WebDyne/Constant.pm view on Meta::CPAN
#
WEBDYNE_EVAL_USE_STRICT => 'use strict qw(vars)',
# Anything to prepend after use strict
#
WEBDYNE_EVAL_PREPEND => '',
# Global opcode set, only these opcodes can be used if using a
# safe eval type. Uncomment the full_opset line if you want to
# be able to use all perl opcodes. Ignored if using direct eval
#
#WEBDYNE_EVAL_SAFE_OPCODE_AR => [&Opcode::full_opset()],
#WEBDYNE_EVAL_SAFE_OPCODE_AR => [&Opcode::opset(':default')],
WEBDYNE_EVAL_SAFE_OPCODE_AR => [':default'],
# Use strict var checking, eg will check that a when ${varname} param
# exists with a HTML page that the calling perl code (a) supplies a
# "varname" hash parm, and (b) that param is not undef
#
WEBDYNE_STRICT_VARS => 1,
lib/WebDyne/Constant.pm view on Meta::CPAN
* **WEBDYNE_EVAL_PREPEND**
**Default:** `''`
Perl source text prepended to generated eval code after `WEBDYNE_EVAL_USE_STRICT`. Use conservatively because it affects interpreted PSP code globally.
* **WEBDYNE_EVAL_SAFE_OPCODE_AR**
**Default:** array reference containing `:default`
Opcode set allowed when `WEBDYNE_EVAL_SAFE` is enabled. Ignored when direct eval mode is used. Use `Opcode::full_opset()` for the full opcode set if Safe mode is enabled and you explicitly want to allow all Perl opcodes.
* **WEBDYNE_STRICT_VARS**
**Default:** `1`
Check render variables referenced as `${name}` and raise an error when a referenced variable was not supplied to `render()` or `render_block()`, or was supplied as `undef`.
* **WEBDYNE_AUTOLOAD_POLLUTE**
**Default:** `0`
lib/WebDyne/Constant.pm view on Meta::CPAN
Perl source text prepended to generated eval code after C<WEBDYNE_EVAL_USE_STRICT>. Use conservatively because it affects interpreted PSP code globally.
=item *
B<WEBDYNE_EVAL_SAFE_OPCODE_AR>
B<Default:> array reference containing C<:default>
Opcode set allowed when C<WEBDYNE_EVAL_SAFE> is enabled. Ignored when direct eval mode is used. Use C<Opcode::full_opset()> for the full opcode set if Safe mode is enabled and you explicitly want to allow all Perl opcodes.
=item *
B<WEBDYNE_STRICT_VARS>
B<Default:> C<1>
Check render variables referenced as C<${name}> and raise an error when a referenced variable was not supplied to C<render()> or C<render_block()>, or was supplied as C<undef>.
lib/WebDyne/Constant.pm.md view on Meta::CPAN
* **WEBDYNE_EVAL_PREPEND**
**Default:** `''`
Perl source text prepended to generated eval code after `WEBDYNE_EVAL_USE_STRICT`. Use conservatively because it affects interpreted PSP code globally.
* **WEBDYNE_EVAL_SAFE_OPCODE_AR**
**Default:** array reference containing `:default`
Opcode set allowed when `WEBDYNE_EVAL_SAFE` is enabled. Ignored when direct eval mode is used. Use `Opcode::full_opset()` for the full opcode set if Safe mode is enabled and you explicitly want to allow all Perl opcodes.
* **WEBDYNE_STRICT_VARS**
**Default:** `1`
Check render variables referenced as `${name}` and raise an error when a referenced variable was not supplied to `render()` or `render_block()`, or was supplied as `undef`.
* **WEBDYNE_AUTOLOAD_POLLUTE**
**Default:** `0`
( run in 1.670 second using v1.01-cache-2.11-cpan-14f38c9f855 )