Help for this page

Select Code to Download


  1. or download this
    ...
    tie %th, 'My::DB::User', {-where=>'active=1'};
    ...
    {   $th{'_CURRENTROW_'} = $i;
        print "$th{'username'} has been an active member since $th{'create
    +d'}\n";
    }
    
  2. or download this
    ...
    while ($th{'_CURRENTROW_'} < $th{'_ROWCOUNT_'})
    {   #do something, then:
        $th{'_CURRENTROW_'}++;
    }