in reply to Easy Reference for Contexts
There ought to be a repository of common expressions and how they behave in each contextThe perl documentation does that, doesn't it? perlop and perlfunc would be the places to look first.
what their default context isThere's no default context. An expression is always in a context. And it's always the caller that determines the context - there's no operator/function that says "you know what, I let my operands run in their default context". (And how could it?)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Easy Reference for Contexts (POD-Extension)
by LanX (Saint) on Apr 14, 2011 at 12:37 UTC | |
by Anonymous Monk on Apr 14, 2011 at 14:20 UTC | |
by LanX (Saint) on Apr 14, 2011 at 14:27 UTC | |
by Anonymous Monk on Oct 24, 2012 at 13:42 UTC |