WebDyne

 view release on metacpan or  search on metacpan

doc/webdyne.md  view on Meta::CPAN


`$WEBDYNE_EVAL_SAFE`

:   default=0 (no), If set to 1 means eval in a Safe.pm container.
    Evaluating code in a Safe container is experimental and not
    supported or recommended for general WebDyne use.

`$WEBDYNE_EVAL_SAFE_OPCODE_AR`

:   The opcode set to use in Safe.pm evals (see the Safe man page).
    Defaults to "\[':default'\]". Use \[&Opcode::full_opset()\] for the
    full opset. CAUTION Use of WebDyne with Safe.pm not comprehensively
    tested and considered experimental.

`$WEBDYNE_EVAL_USE_STRICT`

:   The string to use before each eval. Defaults to "use strict
    qw(vars);". Set to undef if you do not want strict.pm. In Safe mode
    this becomes a flag only - set undef for "no strict", and non-undef
    for "use strict" equivalence in a Safe mode (checked under Perl
    5.8.6 only, results in earlier versions of Perl may vary).

lib/WebDyne/Constant.pm  view on Meta::CPAN

    WEBDYNE_EVAL_SAFE => 0,


    #  Prefix eval code with strict pragma. Can be undef'd to remove
    #  this behaviour, or altered to suit local taste
    #
    WEBDYNE_EVAL_USE_STRICT => 'use strict qw(vars);',


    #  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,


man/WebDyne.3pm  view on Meta::CPAN

Clean algorithm\&. default=1, means least used cleaned first, 0 means oldest last view cleaned first
.RE
.PP
\fI$WEBDYNE_EVAL_SAFE\fR
.RS 4
default=0 (no), If set to 1 means eval in a Safe\&.pm container\&.
.RE
.PP
\fI$WEBDYNE_EVAL_SAFE_OPCODE_AR\fR
.RS 4
The opcode set to use in Safe\&.pm evals (see the Safe man page)\&. Defaults to "[:default]"\&. Use [&Opcode::full_opset()] for the full opset\&. CAUTION Use of WebDyne with Safe\&.pm not comprehensively tested\&.
.RE
.PP
\fI$WEBDYNE_EVAL_USE_STRICT\fR
.RS 4
The string to use before each eval\&. Defaults to "use strict qw(vars);"\&. Set to undef if you do not want strict\&.pm\&. In Safe mode this becomes a flag only \- set undef for "no strict", and non\-undef for "use strict" equivalence in a Safe mode ...
.RE
.PP
\fI$WEBDYNE_STRICT_VARS\fR
.RS 4
Check if a var is declared in a render block (e\&.g $ {foo}) but not supplied as a render parameter\&. If so will throw an error\&. Set to 0 to ignore\&. default=1



( run in 1.921 second using v1.01-cache-2.11-cpan-71847e10f99 )