thanks a lot! I will look at this! I have done it my way and i think now it works... I think it is not the best way,but i am happy with it! I learn perl for a week now...i am proud that is gives any result!
#!/xprog/bin/perl -w use LWP::Simple; sub daten_einlesen { printf "geben Sie ein gtpprotein ein\n"; my $eingabe =<STDIN>; my $url='http://eutils.ncbi.nlm.nih.gov/entrez/eutils/egquery.fcgi?term=' $newurl= $url.$eingabe; return $newurl; } $url1 =daten_einlesen(); $doc = get $url1; print $doc; -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>