On Fri Apr 01 06:46:46 2011, DELTA wrote:
Show quoted text> Hello Barbie,
>
> Since today, I get this error message, suggesting that XE has changed
> their web forms:
>
> There is no form named "ucc" at
> .../perl5/site_perl/5.10.1/WWW/Mechanize.pm line 1899, line 172.
>
> Thanks for looking into it.
> Christian
This bug can be fixed by a one line modification to
Finance/Currency/Convert/XE.pm. You just need to swap the line that says
form_name => 'ucc',
with
form_number => 2,
--- ./lib/Finance/Currency/Convert/XE.pm 2011-03-14
14:49:40.000000000 +0000
+++ /usr/local/share/perl/5.10.0/Finance/Currency/Convert/XE.pm
2011-04-01 15:50:02.000000000 +0100
@@ -245,7 +245,7 @@
# complete and submit the form
$web->submit_form(
- form_name => 'ucc',
+ form_number => 2,
fields => { 'From' => $params{source},
'To' => $params{target},
'Amount' => $params{value} } );
That got me back up and running anyway.