sdavis has asked for the wisdom of the Perl Monks concerning the following question:
Hello all,
I have been stuck on a problem for quite some time. I am trying to post form data to a site that embeds forms within frames.
At the login page of safeway.com, there is a frame with a pzipcode form field that I want to post a zipcode to (in order to browse the online store).
The frame that contains the source I want is located at "https://shop.safeway.com/brands/swy/register/signin.asp?from=/superstore".
I am currently trying to use WWW::Mechanize, but it fails to open the frame source.
#! /usr/bin/perl
use LWP 5.64;
use LWP::Simple;
use WWW::Mechanize;
my $browser = new WWW::Mechanize;
$browser->get('https://shop.safeway.com/brands/swy/register/signin.asp?from=/superstore');
$browser->success or die "Can't load frame";