Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Hook::LexWrap and core functions

by ikegami (Patriarch)
on Sep 19, 2008 at 22:48 UTC ( [id://712653]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Hook::LexWrap and core functions
in thread Hook::LexWrap and core functions

Nope, and the error accurately describes the reason you can't. push is not a sub, so you can't get its address, so it can't be wrapped.

You might be able to wrap *CORE::GLOBAL::push once you create it.

Replies are listed 'Best First'.
Re^4: Hook::LexWrap and core functions
by Alien (Monk) on Sep 19, 2008 at 23:13 UTC
    You were right. After creating CORE::GLOBAL::push , I was able to wrap it . Thanks for your help !

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-04-24 02:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found