Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^3: Tkx after coderef problem

by Anonymous Monk
on Jun 02, 2018 at 16:54 UTC ( #1215747=note: print w/replies, xml ) Need Help??

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

which sub is rAising invalid command? What command where? What is undefinex at time of sub call?

The word is operator. If it's not an operator what is it a puppy?

Replies are listed 'Best First'.
Re^4: Tkx after coderef problem
by huck (Parson) on Jun 02, 2018 at 17:25 UTC

    The word is operator. If it's not an operator what is it a puppy?

    It is not a puppy, it is a "dereferencing symbol"
    "Because of being able to omit the curlies for the simple case of $$x , people often make the mistake of viewing the dereferencing symbols as proper operators"

    "which sub is rAising invalid command?" It is the Tkx::after command that is raising invalid command when its time has arrived to actually call its argument.

    "What command where?"The command is the one created by $tkxfsr->{after}{$afterid}{sub}=sub{ ...}; since the code address match.

    "What is undefinex at time of sub call? " Nothing is actually undefined at the time of the call, but for some reason the execution part of Tkx:after thinks it is.

      Think about what youre saying. Which edact callback. Eval...warn$@

        "Which edact callback. Eval...warn$@ "HUH?

        Possibly the answer is the "callback generated by $send_id=Tkx::after( $delay ,       $tkxfsr->{after}{$afterid}{sub} ); " but it is hard to tell what you are saying, maybe you need to think about what you are saying instead. And remember both methods work just fine on windows, just not on linux.

        What are you trying to say by "Eval...warn$@"

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2019-11-13 09:56 GMT
Find Nodes?
    Voting Booth?
    Strict and warnings: which comes first?

    Results (71 votes). Check out past polls.