January 1999
Beginner
373 pages
9h 43m
English
Normally, you'll run your Perl/Tk program by typing the program name at the command prompt:
% hello_world
or
C:\>perl hello_world
When you invoke the program this way, any output created by using a print (or printf) is to that terminal window. Sometimes, you won't see the information actually printed until you quit the program. This is probably because you didn't put a \n on the end of the string to be printed, which causes an automatic flushing of output. During your application processing, if you think you aren't seeing a print statement when you should be, make sure a \n is on the print statement.