View Full Version : Output
DoWho
11-14-1999, 10:40 PM
Hi! How can Imake a simple output in perlscript?
dasari2prakash
11-22-2007, 08:40 AM
Hi! How can Imake a simple output in perlscript?
The print Command
The print command is what tells the program to print out something. This is where it all starts. Here is the format for the print statement:
print "Your text and other things go here";
This statement prints the content between the quote marks to standard output. If you are running this from the command line, the above statement would simply write:
Your text and other things go here
If you want to print this to the web browser, there is a catch. You need to place a Content-type header before your print statements.
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.