Hey all,
This has always pestered me. I have the following list printed out and taped
to the wall in my cubical. I got it from the top of 'perldoc perlop' and
have a few questions.
What does the (left/right/nonassoc) mean?
What are examples of 'terms and list operators (leftward)'?
What are examples of 'named unary operators'?
What are examples of 'list operators (rightward)'?
left terms and list operators (leftward)
left ->
nonassoc ++ --
right **
right ! ~ \ and unary + and -
left =~ !~
left * / % x
left + - .
left << >>
nonassoc named unary operators
nonassoc < > <= >= lt gt le ge
nonassoc == != <=> eq ne cmp
left &
left | ^
left &&
left ||
nonassoc .. ...
right ?:
right = += -= *= etc.
left , =>
nonassoc list operators (rightward)
right not
left and
left or xor
Your knowledge and assistance is appreciated.
Nikola Janceski
I am not discouraged, because every wrong attempt discarded is another step
forward.
-- Thomas A. Edison
----------------------------------------------------------------------------
--------------------
The views and opinions expressed in this email message are the sender's
own, and do not necessarily represent the views and opinions of Summit
Systems Inc.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]