User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Perl section within the Software Development category of DaniWeb, a massive community of 375,210 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,228 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Perl advertiser:
Views: 310 | Replies: 1
Reply
Join Date: May 2008
Posts: 10
Reputation: somename is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
somename somename is offline Offline
Newbie Poster

self killing perl prog

  #1  
May 14th, 2008
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 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)?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2006
Posts: 215
Reputation: katharnakh is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 19
katharnakh's Avatar
katharnakh katharnakh is offline Offline
Posting Whiz in Training

Re: self killing perl prog

  #2  
May 14th, 2008
Originally Posted by somename View Post
... perl forum is kind of abandoned ;/
Its not true.

Originally Posted by somename View Post
...
I want to write a selfkilling perl prog 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.

Originally Posted by somename View Post
...
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.
Last edited by katharnakh : May 14th, 2008 at 11:38 pm.
challenge the limits
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Perl Marketplace
Thread Tools Display Modes

Other Threads in the Perl Forum

All times are GMT -4. The time now is 2:56 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC