在 2006/7/28 上午 7:54 時,Aaron Crane 寫到:

The motivation for s/environmental/contextual/ is clear: avoiding a term that's already used for something else. But, on the same grounds, I'm not sure that "contextual" is the right term, and especially not C<is context>
-- Perl already has contexts, and this isn't one.

The idea is that context is something you pass along in each of your calls. If your function body is a simple call, then it does not affect the context; the callee gets the same context as you are getting.

So one can say that "want" is really one of the contextual variables that gets reassigned every time a function is called when a particular type is expected.

Thanks,
Audrey

Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to