I was thinking just do: 'sub shell(...) is export { }'. And then 'use
MyCrazyShell;'  in module.pm.

Do you mean without modifying module.pm?

LL

On Tue, Feb 28, 2017 at 1:46 AM Brian Duggan <bdugg...@gmail.com> wrote:

> On Monday, February 27, Lloyd Fournier wrote:
> > I'd do the follwiing:
> >
> > 1. make a sub named shell to overwrite the existing one that calls .shell
> > on Proc.
>
> Once I make a 'shell', is it possible for the test file
> to inject my 'shell' into module.pm's namespace?
>
> e.g. I was hoping for something like
>
>     $::(CLIENT::<&shell>) = sub (...) { ... }
>
> ?
>
> Brian
>

Reply via email to