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

Re: wxPerl: is wxListCtrl Get/SetItemFont implemented? and further important questions

by jmlynesjr (Friar)
on Mar 26, 2013 at 02:01 UTC ( #1025427=note: print w/ replies, xml ) Need Help??


in reply to wxPerl: is wxListCtrl Get/SetItemFont implemented? and further important questions

I have found that it is very easy to get confused about what an object pointer is pointing to at any given moment. We tend to use and reuse $self/$this to represent different objects at different points in our code. I have found that I have to use Data::Dumper and print Dumper($self) or ($this) or ($f) to make sure the object that I think I am acting on is in fact the one that I want.

Try adding a few print Dumpers to verify your object pointers.

James

There's never enough time to do it right, but always enough time to do it over...


Comment on Re: wxPerl: is wxListCtrl Get/SetItemFont implemented? and further important questions
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2015-07-29 01:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls