adding <STDIN>; did not work, but running it from cmd
shell did. thank you so much.
regards,
Marco.


--- Toby Stuart <[EMAIL PROTECTED]> wrote:
> 
> 
> > -----Original Message-----
> > From: Marco Perl [mailto:[EMAIL PROTECTED]
> > Sent: Monday, 12 July 2004 4:19 PM
> > To: ; [EMAIL PROTECTED]
> > Subject: Could you please help with a PERL/TK
> question.
> > 
> > 
> > 
> > Hi, I developed a perl/TK script in Win-2000
> > environment.
> > when I run it the DOS-screen pops up and displays
> my 
> > program errors. but this screen closes so fast
> that
> > its 
> > impossible to read the error. so, how do I debug
> my 
> > perl.ptk script or how do I slow down the
> DOS-screen
> > to read the errors?
> > thanks so much,
> > regards,
> > Marco.
> > 
> > 
> 
> Are you launching your Tk script via a double-click
> of the filename in
> windows explorer/desktop etc?  If so, the script
> will run and when finished
> (or errors occurred) the cmd shell window will
> disappear, this is normal
> behaviour.
> 
> Either add a the line: '<STDIN>;' (without quotes)
> to the end of your
> program or run the script directly from the cmd
> shell.
> 
> To run the script directly from cmd shell ie. click
> "Start" and then select
> "Run" and type "cmd".  The cmd shell appears.  Then
> type: perl
> path\to\my\script.pl
> 
> 
> 
> 



        
                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to