0

HI guys. Jeezz, perl forum is kind of abandoned ;/ Anyway, maybe some one will have an idea.
I want to write a selfkilling perl prog :D Ok, i got a simple prog which shows up a simple tk window with some text in it, to go to the next function (in my app), i have to close window manualy. Is it posible to make that window disappear, lets say, after 10 seconds, without my interference? The same is about perl scripts which runs an xterm and after some function you always have to close that window to go forward. Or, is there a way to run perl script without shell environment (i'm not talking about daemons here)?

2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by katharnakh
0

... perl forum is kind of abandoned ;/

Its not true.

...
I want to write a selfkilling perl prog :D Ok, i got a simple prog which shows up a simple tk window with some text in it, to go to the next function (in my app), i have to close window manualy. Is it posible to make that window disappear, lets say, after 10 seconds, without my interference? ...

If you want to come out of execution for some reason, you can use exit(0) function in the program, which is a premature exit...

It is just a guess... there should be <childwindow>.destroy() function to destroy top level window or child window.

...
The same is about perl scripts which runs an xterm and after some function you always have to close that window to go forward. Or, is there a way to run perl script without shell environment (i'm not talking about daemons here)?

I dont understand this.

katharnakh.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.