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

Re: Refresh data ina entry widget

by starbolin (Hermit)
on May 29, 2008 at 03:43 UTC ( #688956=note: print w/replies, xml ) Need Help??


in reply to Refresh data ina entry widget

The subroutine status_bank does nothing to store or preserve its data. It's not normal for the subroutine that reads the data from a file to also handle displaying the data. In general, you don't know when your display object is going to get called to redraw it's frame so you need to store your data in some kind of data stucture. Then a callback routine called by an event handler fetches data from the data structure and writes it to your display object string. I see none of this structure in your code so I am at a bit of a loss as to what to recommend.


s//----->\t/;$~="JAPH";s//\r<$~~/;{s|~$~-|-~$~|||s |-$~~|$~~-|||s,<$~~,<~$~,,s,~$~>,$~~>,, $|=1,select$,,$,,$,,1e-1;print;redo}

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2019-07-21 04:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If you were the first to set foot on the Moon, what would be your epigram?






    Results (7 votes). Check out past polls.

    Notices?