in reply to Re^3: Contexts and Perl 6
in thread Contexts and Perl 6
If the function knew it was called in numeric context, it could return Array but compute_length();. If optimized over, the property contains no closures, so is easily cut down to just the desired function call.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Contexts and Perl 6
by moritz (Cardinal) on May 18, 2009 at 21:23 UTC | |
by John M. Dlugosz (Monsignor) on May 18, 2009 at 21:29 UTC | |
by moritz (Cardinal) on May 18, 2009 at 21:34 UTC | |
by John M. Dlugosz (Monsignor) on May 18, 2009 at 22:01 UTC |