Help for this page

Select Code to Download


  1. or download this
    # Iterate through rows and count columns
    foreach my $row_index (1 .. $table->Rows->Count) {
    ...
        my $column_count = $row->Cells->Count;
        print "Row $row_index has $column_count columns.\n";
    }