Help for this page

Select Code to Download


  1. or download this
    sub foo {
        state $x = 1;
    ...
    foo;                      # outputs 1
    foo;                      # 2
    foo;                      # 3