<br>#!/usr/local/bin/perl<br>use LWP::Simple;<br>use strict;<br>use warnings;<br>use LWP 5.64;<br>use LWP::UserAgent;<br>print &quot;Quale entry di PDB vuoi aprire? &quot;;<br>my $pdb=&lt;STDIN&gt;;<br>chomp ($pdb);<br>my $url1 = &quot;<a href="http://www.ebi.ac.uk/thornton-srv/databases/cgi-bin/pdbsum/GetPage.pl?pdbcode=$pdb" target="_blank">http://www.ebi.ac.uk/thornton-srv/databases/cgi-bin/pdbsum/GetPage.pl?pdbcode=$pdb</a>&quot;;<br>

my $content = get $url1;<br>die &quot;Couldn&#39;t get $url1&quot; unless defined $content;<br>while ($content=~ m/uniprot_id=(.*?)&amp;/g)<br><br>    {<br>    my $code=$1;<br>    print &quot;ID uniprot: $code\n&quot;;        <br>

    chomp ($code);<br>    my $browser =LWP::UserAgent-&gt;new;<br>    my $url = URI-&gt; new (&quot;<a href="http://www.uniprot.org/uniprot/$code.fasta" target="_blank">http://www.uniprot.org/uniprot/$code.fasta</a>&quot;);<br>
    my $response=$browser-&gt; get ($url);<br>
    my $fasta=$response-&gt;content;<br>    print &quot;$fasta&quot; ;<br>    };<br>        <br><br><br><br><br>this
is my script...first I must digit the pdb code (form my test I use
1xmj, that I&#39;m sure it has a ligand) I want to explore, (that&#39;s the
code of a protein structure) and then I go to the web page...to extract
another code, that&#39;uniprot code, so the script thakes that code and put
it into another web site and estract and print the  aminoacidic
sequence of the protein, then i need to know something about the
ligand...and  I need to access to the file  running.pl that brings some
information which I have to extract....and i don&#39;t know what to do<br>