Thank you! The separating comma was what I was leaving out. Also, I
wanted to actually print the variable name, so I escaped the $ symbol.
Deb
On Wednesday, June 4, 2003, at 12:00 PM, James Edward Gray II wrote:
On Wednesday, June 4, 2003, at 11:47 AM, deborah wrote:
Example: I want to print
How do you get Perl to print an operator as a string? I want to print a
mathematical expression and then print the answer. I've tried every
combination that I can think of, but the script keeps getting aborted
"due to compilation errors" because "string found where operator
expected." Well, yea
--- [EMAIL PROTECTED] wrote:
> The following line of code causes 2-lines of output to the file:
>
> print LOG "qcfg_dt='$qcfg_dt' \n";
> $qcfg_dt contains Monday, August 20, 2001 8:53:26 PM
> The second quote is written on the next line. In the file the information
> looks like this:
The following line of code causes 2-lines of output to the file:
print LOG "qcfg_dt='$qcfg_dt' \n";
$qcfg_dt contains Monday, August 20, 2001 8:53:26 PM
The second quote is written on the next line. In the file the information
looks like this:
qcfg_dt='Monday, August 20, 2001