vit has asked for the wisdom of the Perl Monks concerning the following question:
use WWW::Babelfish; my $obj = new WWW::Babelfish ( service => 'Yahoo', agent => $user_agent, ); if (defined($obj)) { $text = $obj->translate ( 'source' => 'Dutch', 'destination' => 'English', 'text' => $text, 'delimiter' => "\n\t", ); $text = "Could Not Translate: " . $obj->error if(! defined($text)) } else { $text = "Translation server unavailable" }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: WWW::Babelfish usage problem
by eff_i_g (Curate) on Apr 08, 2011 at 18:26 UTC | |
by vit (Friar) on Apr 08, 2011 at 18:55 UTC | |
by eff_i_g (Curate) on Apr 08, 2011 at 20:29 UTC | |
by Anonymous Monk on Apr 08, 2011 at 20:05 UTC | |
|
Re: WWW::Babelfish usage problem
by Khen1950fx (Canon) on Apr 09, 2011 at 16:22 UTC |