Help for this page

Select Code to Download


  1. or download this
    sub create_counter {
        my $counter = 0;
    ...
    while (&$counter < $Some_Value) {
        &DO_Stuff;
    }
    
  2. or download this
    sub create_upper_bounded_counter {
        my ($upper_bound) = @_;
    ...
    while (&$bounded_counter) {
        &Do_Stuff;
    }