Re: something between "state" and "my"

2006-02-03 Thread Larry Wall
On Fri, Feb 03, 2006 at 06:45:23AM +, Luke Palmer wrote: : On 2/3/06, Dave Whipp <[EMAIL PROTECTED]> wrote: : >sub factorial(Int $x) { : >temp state Int $result = 1; : >$result *= $x; : >factorial $x-1 if $x > 2; : >return $result if want; : >} : >say

Re: something between "state" and "my"

2006-02-03 Thread Dave Whipp
Larry Wall wrote: But that's just my current mental model, which history has shown is subject to random tweakage. And maybe "env $+result" could be a special squinting construct that does create-unless-already-created. Doesn't feel terribly clean to me though. If we stick with the + twigil alw

Re: something between "state" and "my"

2006-02-03 Thread Larry Wall
On Fri, Feb 03, 2006 at 12:41:47PM -0800, Dave Whipp wrote: : Larry Wall wrote: : : >But that's just my current mental model, which history has shown : >is subject to random tweakage. And maybe "env $+result" could be a : >special squinting construct that does create-unless-already-created. : >Do