batchRebuildItemsTables.pl should allow a dry-run using the '-t' parameter, but the script aborts instead, due to the following line: pod2usage(1) if ($help || (!$confirm)); The logic for actually committing records to the database is in place farther on in the code, so we shouldn't be quitting there.
This appears to have been corrected? I see the following code which fixed this issue pod2usage(1) if $help || ( !$confirm && !$test_parameter );