I'm sorry, but I'm a bit lost.
I understand that English might not be your first language, but you're not doing a very good job of explaining what you need (no offense intended).
This is what I understand from your posts so far:
- You have a number of files with a .pdb extension
- You have a tool that processes these files in some way
- You want to use perl to feed these files to this tool
Now, assuming that the above is correct - I have a couple of questions for you.
Firstly, how do these files need to be passed to your external tool? Do you need to a) just pass the name and location of the file, or b) open the file within perl and then pass it line by line?
And secondly, does this external tool produce any output? And if it does, what should be done with that output?
Perhaps if you can describe as best you can the steps you would take if you were going to process one of these files manually (from start to finish), then that might help me to understand a bit better what it is you need.
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link or
or How to display code and escape characters
are good places to start.