in reply to Clarifying the Comma Operator
Seems like an explicit pattern is easy enough:
The "=>" operator is a synonym for the comma, but forces any word (anything matching /^\w+$/ that is not a numeric literal) to its left to be interpreted as a string (as of 5.001). This includes words that might otherwise be considered a constant or function call.
Good Day,
Dean
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Clarifying the Comma Operator
by zwon (Abbot) on Jun 07, 2009 at 22:32 UTC |