in reply to Mini-Tutorial: Scalar vs List Assignment Operator
one of the frequently used functions are map and grep, both with a similar syntax and arguments but BLOCK and EXPR in a grep statement are evaluated in a scalar context while in a map statement they are evaluated in a list context, it would be really great if you could address the evaluation differences as you've the assignment one. I don't really know much about the inner working of both functions because I am not as much experienced but I am puzzled by the way list and scalar contexts are presented.
Excellence is an Endeavor of Persistence. Chance Favors a Prepared Mind.
Thanks A lot.
Excellence is an Endeavor of Persistence. Chance Favors a Prepared Mind.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Mini-Tutorial: Scalar vs List Assignment Operator
by ikegami (Patriarch) on Sep 05, 2009 at 02:50 UTC |
In Section
Meditations