Mike Burdick
05-23-2005, 01:45 PM
This regards the print function:
Let’s say I need to print some html code using a Perl script. Example:
print <<"EOT";
<HTML>
<HEAD>
<TITLE>window_title</TITLE>
.
.
.
EOT
Now this will print everything out with carriage returns etc. But what if I wanted everything printed out in one line. I know I can put each line in a print statement without a newline character but is there a way I can do it as a group?
Thanks
Let’s say I need to print some html code using a Perl script. Example:
print <<"EOT";
<HTML>
<HEAD>
<TITLE>window_title</TITLE>
.
.
.
EOT
Now this will print everything out with carriage returns etc. But what if I wanted everything printed out in one line. I know I can put each line in a print statement without a newline character but is there a way I can do it as a group?
Thanks