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, yeah... I'm intending to turn the operator into a
string. How do I get Perl to see it as a string?
Example: I want to print out " $hours +35 = 45." The "45" would
actually be derived from the following line: $hours += 35;
I'm using Perl 5.6 on a Mac OSX, which seems to be the same as any
Linux system.
Thanks!
Deb
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]