my $addr = 'http://myhost.com.sg/cgi-bin/biobase/transfac/9.4/bin/star +t.cgi';
It looks like you're trying to access the transfac database. Unless something has changed since the last time I used it, the database is simply a hierarchy of easily-parsable flat files. If you're trying to use their web pages to do some searching, I would encourage you to consider accessing the data directly (in fact, if you look at the code in the cgi script you can see exactly how they locate and parse each file). If you use the data files it will likely be much quicker to program and easier to maintain. Moreover, the TFBS modules already provide some support for transfac.
On a side note, please help us help you. I've noticed that many of your questions focus only on what appears to be the very next step in the process. It's perfectly acceptable to ask about how to use WWW::Mech and cookies to access a web site, but a more complete description of the problem might help us to provide you with better approaches to the overall problem rather than to just the next 10 lines of code in your program. Just 1 or 2 sentences explaining your goal (for example, "I have several multiple sequence alignments and I need to create a matrix from them, then I need to search transfac to see if that matrix is similar to any other known TF binding sites") might be enough for someone to mention a tool or two that already exist and that do exactly what you want.
HTH
In reply to Re: Howto fill in username and password in a popup cookie with Perl
by bobf
in thread Howto fill in username and password in a popup cookie with Perl
by monkfan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |