$ua->get_ok($new_article_form); my $form = $ua->select_form_with_field('title'); $ua->set_fields( 'title' => $art->{title}, 'summary' => $art->{summary} || '', 'filename' => $filename, 'weight' => $art->{weight} || 0, 'nav_exclude' => $nav_exclude, 'hot_topic' => $hot_topic, 'taxonomy[tags][4]' => $art->{keywords}, 'body' => $art->{content}, 'status' => $published_status, 'date' => $art->{updated_at}, ); $ua->submit; my($link) = $ua->find_link(text_regex => qr/^Edit$/) or die "Create failed!?!\n" . extract_drupal_error();