in reply to Re: Confused about unary +
in thread Confused about unary +
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Confused about unary +
by sgifford (Prior) on Aug 25, 2003 at 21:16 UTC |