in reply to Re^5: Contexts and Perl 6
in thread Contexts and Perl 6
Instead, constructs always do the same thing, which is to return an object that can exhibit different behavior in different contexts later. A simple example, which can be taken as an exemplar, is Nil which replaces "undef in item context or () in list context.".
Is that the plan?
—John
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^7: Contexts and Perl 6
by TimToady (Parson) on May 20, 2009 at 16:54 UTC | |
by John M. Dlugosz (Monsignor) on May 20, 2009 at 17:53 UTC |