If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Perl and the DBI > The program runs now, but with a slight problem...

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-21-05, 17:59
rs0527perl rs0527perl is offline
Registered User
 
Join Date: Sep 2005
Posts: 2
The program runs now, but with a slight problem...

If anyone can help me with this I would be greatful: I installed the ActivePerl program on my Windows XP (I will be switching to Linux in the next couple of weeks or so but that's not the point). I got it running well enough to write programs in text editor and save them as .pl files that make them into Perl executable files with no problem. The problem is that when I run the program it will flash the display screen lightning fast, meaning that I barely catch a glimpse of the blue overhead and outline and the black screen. This would be fine if I did not need to see something printed or have to input something, but I can't seem to find anything about this problem.

As a background, I am just learning Perl off the Llama book, and I just was able to get the program installed. I am also using text editor to write the programs saving them as both unicode and ANSI with no difference in results (if that matters at all).

The question is what do I do about this problem?

Thank you very much for your help!
Reply With Quote
  #2 (permalink)  
Old 09-21-05, 21:14
senza_nome senza_nome is offline
Registered User
 
Join Date: Jun 2004
Location: Nowhere Near You
Posts: 89
Either run it from inside the "DOS" box or use "$_=<STDIN>;" as the last executable line. I'd recommend learning to use the "DOS" box.
Reply With Quote
  #3 (permalink)  
Old 09-23-05, 08:27
rs0527perl rs0527perl is offline
Registered User
 
Join Date: Sep 2005
Posts: 2
Thank you, it's working now from the DOS command prompt and I am also knocking the rust off my memory of DOS as well.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On