heidi has asked for the wisdom of the Perl Monks concerning the following question:
The program is given below. Is it something to do with the HTTP server in my machine????"Couldn't get http://www.syfpeithi.de/scripts/MHCServer.dll/EpitopePre +diction?Motif=ALL&amers=9&SEQU=ALFKTPLSV &DoIT=++Run++ at test.pl line 16, <IN> line 1."
#!/usr/bin/perl use lib "/home/guest/modules/libwww-perl-5.812/lib"; use LWP::Simple; open(IN,"all_peptides") or die "Cant open file\n"; while (eof(IN)==0) { $i++; chomp($line=<IN>); open(OUT,">/home/guest/$line.html") or die "Cant open $line.txt file \ +n"; my $url="http://www.syfpeithi.de/scripts/MHCServer.dll/EpitopePredicti +on?Motif=ALL&amers=9&SEQU=$line&DoIT=++Run++"; my $content = get $url or die "Couldn't get $url" unless defined $cont +ent; print OUT "$content"; close OUT; } close IN;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: HTTP problem while using LWP module
by mscharrer (Hermit) on Apr 29, 2008 at 19:08 UTC | |
|
Re: HTTP problem while using LWP module
by almut (Canon) on Apr 29, 2008 at 20:11 UTC | |
by Anonymous Monk on Apr 30, 2008 at 07:13 UTC | |
|
Re: HTTP problem while using LWP module
by shmem (Chancellor) on Apr 29, 2008 at 19:12 UTC |