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 out " $hours +35 = 45." The "45" would actually be derived from the following line: $hours += 35;

There is nothing wrong with the string you posted. Something like this would print it:


print "$hours + 35 = ", $hours + 35, ".\n";

If you're getting that far, post your code and I'll be happy to take a look.

I'm using Perl 5.6 on a Mac OSX, which seems to be the same as any Linux system.

"Good choice," I say, from on Mac OS X user to another. ;)


James



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to