Using different numbers for the examples helps visualize what's initialized vs added later:
sub a { * state @x = 1, 2; @x.push(3)*} =end code will continue to append each time it is called. So, =begin code say a; say "next"; say a; say "next"; say a; =end code will output =begin code *[1 2 3]next[1 2 3 3]next[1 2 3 3 3]* -y On Mon, Sep 14, 2015 at 1:13 PM, David H. Adler <d...@pobox.com> wrote: > Maybe a bit long, but think it explains it in a way people will > understand. Thoughts? > > https://gist.github.com/dha/8009c28d7bf2d1ca8875 > > dha > > -- > David H. Adler - <d...@pobox.com> - http://www.panix.com/~dha/ > I think the scale of relative badness is broken in this place. > - Diablo >