Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by clueless newbie (Curate)
on Sep 10, 2014 at 18:07 UTC ( [id://1100192]=note: print w/replies, xml ) Need Help??


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 ☆☆☆☆ :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1100192]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (7)
As of 2024-04-23 12:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found