in reply to Re^4: Accessing a lexical variable of another file.
in thread Accessing a lexical variable of another file.

Yes, sir! Perhaps you could use Conway's Hook::LexWrap and wrap DBI's connect.

  • Comment on Re^5: Accessing a lexical variable of another file.

Replies are listed 'Best First'.
Re^6: Accessing a lexical variable of another file.
by LanX (Saint) on Sep 10, 2014 at 18:27 UTC
    Oh thanks ! Interesting module, I wasn't aware that wrapping can be done transparently to caller ...

    Always did monkey patching the old fashioned way :)

    Cheers Rolf

    (addicted to the Perl Programming Language and ☆☆☆☆ :)