You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The withPerl5 function has a rather opaque signature that gives no clue that it's effectively "bracket"-ing an implicit, global Interpreter.
The function's usage could be made more obvious if Interpreter objects were explicitly allocated and finalized (rather than a single global instance being operated on). Then, withPerl5 would take a function which took an Interpreter object, its signature would give a better idea of its purpose, and it'd be more flexible, too.
This shouldn't be hard to do - the perlembed docco gives examples of how to work with multiple interpreter instances.
The text was updated successfully, but these errors were encountered:
The
withPerl5
function has a rather opaque signature that gives no clue that it's effectively "bracket
"-ing an implicit, globalInterpreter
.The function's usage could be made more obvious if
Interpreter
objects were explicitly allocated and finalized (rather than a single global instance being operated on). Then,withPerl5
would take a function which took anInterpreter
object, its signature would give a better idea of its purpose, and it'd be more flexible, too.This shouldn't be hard to do - the perlembed docco gives examples of how to work with multiple interpreter instances.
The text was updated successfully, but these errors were encountered: