Help for this page

Select Code to Download


  1. or download this
    my @AssignmentIDs = ();
    my $GetAssignmentID_sth=$query_dbh->prepare($SQL);
    ...
      }
    my $AssignmentIDs = join(",",@AssignmentIDs);
    $GetAssignmentID_sth->finish();
    
  2. or download this
    if($rows > 0) {}
    
  3. or download this
    "my" variable $rows masks earlier declaration in same scope
    
  4. or download this
    undef $row;