Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Tkx after coderef problem

by huck (Parson)
on Jun 02, 2018 at 22:04 UTC ( #1215764=note: print w/replies, xml ) Need Help??


in reply to Re^2: Tkx after coderef problem
in thread Tkx after coderef problem

"no it doesnt create an anonymous sub it doesnt need to

If you are so sure of that then prove it, show me a link to the arrayref processing of Tkx:after calls, or tell me where to look for the code. Till then my thought that processing of a arrayref in the callback position creates a single use anon-coderef still holds as it explains why that call method works, like the the sub{...} method does, but the static coderef fails. (well at least on unix).

There is deep autoload magic going on in Tkx that i still dont understand and i have yet to find out where the parameter munging actually takes place to move across the perl<->Tk/Tcl boundary. Ive even tried to look for it.

Replies are listed 'Best First'.
Re^4: Tkx after coderef problem
by Anonymous Monk on Jun 03, 2018 at 09:59 UTC
    Not going to prove anythung or fix typos. It doesnt need to create a subrkutine to be able to call a subroutine and pass arguments to it.Why would it . calling a subroutine is identical no matter a who creates it.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2019-10-19 00:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?