Help for this page

Select Code to Download


  1. or download this
    sub count_up {
    {
    ...
        .
    }
    }
    
  2. or download this
    $cnt=0; $progress=0
    $cnt=0; $progress=20
    $cnt=0; $progress=40
    $cnt=0; $progress=60
    
  3. or download this
    my $r = \$progress;
    print("address of \$progress=$r\n");
    
  4. or download this
    $cnt=0; $progress=0
    address of $progress=SCALAR(0x19fc970)
    ...
    address of $progress=SCALAR(0x1cfdb0c)
    $cnt=0; $progress=60
    address of $progress=SCALAR(0x1d13fc4)
    
  5. or download this
        $pb->configure(
            -from => 0,
    ...
            -variable => \$progress,  ## store the reference.
        );
    $progress = 0;
    
  6. or download this
    $cnt=0; $progress=0
    $cnt=0; $progress=0
    $cnt=0; $progress=0
    $cnt=0; $progress=0
    
  7. or download this
    sub variable {
        my $c = shift;
    ...
        }
        $oldval;
    }
    
  8. or download this
    use strict;
    use warnings;
    ...
            $mw->update;
        }
    }