> Any sugestions to solve the problem(by not use web browser)?
You could try:
use LWP::Simple;
$gb_file = get "http://www.ncbi.nlm.nih.gov/htbin-post/Entrez/query?db=n&uid=619931&form=6&Dopt=g";
--
Gisle Aas <a...@sn.no>
> Is that a problem that "lynx" won't work for query string (CGI)?
Isn't that a Lynx question, instead of a Perl question? As near as I can
see, your Perl code is just fine. If you have a problem with something
other than the Perl code, you may be able to find the answer in a
more-suitable forum. Hope this helps!
--
Tom Phoenix http://www.teleport.com/~rootbeer/
root...@teleport.com PGP Skribu al mi per Esperanto!
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
You've got shell excape chars in there. Quote the URL:
$gb_file = `lynx 'http://www.ncbi.nlm.nih.gov/htbin-post/Entrez/query?db=n&uid=619931&form=6&Dopt=g'`;
You'll probably also want the -dump or -source options for lynx.
See man lynx for details.
--
-Zenin
ze...@best.com