Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- my $value = 'blah';
- my $value2 = 'blah';
- my @urls = ('url', 'url2', 'url3');
- foreach (@urls) {
- $ua->post($_,
- [ 'test' => $value,
- 'test2' => $value2,
- ]
- }
- I want the foreach to call and get the URL then define what values to post to the form using ua->post($_, [ array => values ] ).
- array(domain.tld -> (name => 'Test Name', lastname => 'Last Name'))
Add Comment
Please, Sign In to add comment