cwd is no longer in @INC in new perl versions
This commit is contained in:
parent
5a10c8f8a2
commit
b0ee7e88bf
8 changed files with 14 additions and 1 deletions
13
lib/RevBank/Eval.pm
Normal file
13
lib/RevBank/Eval.pm
Normal file
|
@ -0,0 +1,13 @@
|
|||
package RevBank::Eval;
|
||||
|
||||
# This function is used so strings can be eval'ed in a clean lexical
|
||||
# environment.
|
||||
|
||||
sub clean_eval { eval shift }
|
||||
|
||||
# No, it's not scary. We're using string eval to load plugins, just as it would
|
||||
# be used to load modules. As we're not executing user input, this is really
|
||||
# NOT a security bug.
|
||||
|
||||
1;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue