Re: How to print a string that uses variables and operators

2003-06-05 Thread deborah
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 to print a string that uses variables and operators

2003-06-05 Thread deborah
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

Re: print a string

2001-08-20 Thread Curtis Poe
--- [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:

print a string

2001-08-20 Thread Robert_Collins
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