Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Solve several problems that related to PerlAlwaysGlobal taking over…
… for former use of [perl tables="something"]. * When in PerlAlwaysGlobal mode, DO NOT wrap database objects with Safe. No point, and all that happens is you expose yourself to Encode and other modules erroring out when runtime requires are done. * Likewise, do not use the wrapped $Tag, just make a new Vend::Tags object. * Also, in global mode the non-lexical variables created in [perl] tags could not be accessed in [calc] or `backtick code` in tag parameters. Used the Safe root() function to set the package for [perl] tags when in PerlAlwaysGlobal mode. Did not do this when PerlAlwaysGlobal not set, as existing global Perl users could conceivably be affected.
- Loading branch information