in reply to WWW::Mechanize to Access HTTPS with Cookies
and this line:for ($output =~ /name=\"DV_DATA\" type=\"hidden\" VALUE=\"(.*?)\">/smi +){ $dv_data = $1; }
DV_DATA => $dv_data
This line is wrong:
because of the quote mismatch. (Also, only the g flag is actually needed on this statement.)$webpage =~ s/\'\//\"$base_address\//smig;
You might want something like:
$webpage =~ s!(=['"])/!$1$base_address/!g;
|
|---|