Sorry, I must be a bit slow on the uptake, but I still don't understand.
Perl is interpreting the print statement, followed by parentheses, as a call to print with the arguments in parentheses (print("hi there") instead of print "hi there");.
This:
print("hi there")works perfectly (with or without strictures and warnings) with my version of perl.
Still confused
dave
In reply to Re: Re: Confused about unary +
by Not_a_Number
in thread Confused about unary +
by Not_a_Number
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |