[ic] LWP::Simple get url returns error
daniel castro
daniel_castro at hotmail.com
Thu May 12 09:51:00 EDT 2005
Hi list I am getting this:
157.253.41.51 DeTQgeo3:157.253.41.51 - [12/May/2005:12:46:15 +0000] plcost
/cgi-bin/plcost/test.html Runtime error: Couldn't get
http://www.larepublica.com.co/inc/imagenes/indicad.php?env=7m9r5j5c at (tag
'exchange_rate') line 8.
And a error 500 in the page I call the user tag.
My usertag is this one:
UserTag exchange-rate Order currency
UserTag exchange-rate PosNumber 1
UserTag exchange-rate Routine <<EOR
sub {
my ($currency) = @_;
my $url;
$url =
'http://www.larepublica.com.co/inc/imagenes/indicad.php?env=7m9r5j5c';
use LWP::Simple;
my $content = get $url;
die "Couldn't get $url" unless defined $content;
$content =~ /(\d\.\d{2,5})(.........)/;
return $1;
exit;
}
EOR
i am trying to get the exchange rate for the colombian peso.
With rsDVD in the IRC chat came to the conclusion that interchange is unable
to resolve a host, so he gest lost and retunr the error. but we are not
sure.
All the help will be appreciated.
Thanks
Daniel Castro
I will make it clear that I do know the meaning of the word "mercy"; I
simply choose not show them any.
-----------------------------------------------------------
Este correo y su contenido son confidenciales y exclusivos para su
destinatario. Si usted recibe este mensaje por error o no es el destinatario
del mismo, por favor sírvase eliminarlo y notificarle a su originador. Así
mismo, todas las ideas y reflexiones expresadas en esta comunicación
corresponden al originador del correo
-----------------------------------------------------------
This email is intended only for the addressee(s) and contains information
which may be confidential, legally privileged. If you are not intended
recipient please do not save, forward, disclose or copy the content of this
email. Please deleted completely from your system and notify originator of
it.
More information about the interchange-users
mailing list