in reply to Not understanding the arrow operator
The fat arrow is the same as comma. It has the side effect of letting you not quote the left side. So
should be exactly the same as'level' , '1','id' , 4
as the hash constructor syntax (putting stuff between braces) just wants a list with an even number of elements, taken as alternating keys and values. That's why it works for parameter lists too.'level' , '1','id' , 4
You could actually write
and be even less noisy.level => '1', id => 4
—John
|
|---|