I am using Tk::Chart::Lines to display graphs. My problem is I wish to do this in real time and it seems impossible to do this using the normal commands after MainLoop() has been called. From what I understand this is the loop which listens for events in the window and also keeps it open.
But I do not want to add data by clicking a button, I wish to call a method from another perl module and then have the chart automatically redraw. My idea then is to try generating my own custom events and then have the MainLoop listen for those. Is this possible? What is the prefered way of doing this?