Your question isn't clear, but I have a feeling that you are confused about how CGI programs work. When you are running the program from a browser (and I assume that's what you mean by "i run from the client mechine") then the CGI program still runs on the web server and has no access to any files that are on the client machine.
If I have misunderstood what you are trying to say, then please explain in more detail.
A few tips that might help you solve this problem:
You might also consider here-docs (or even a templating system) to simplify your multiple print statements.
Update: Oh. I've just seen that this is pretty much a repost of a previous question. If you're going to do that, then it's polite to include a link to the previous question so that we can see what advice has already been proferred (and ignored).
"The first rule of Perl club is you do not talk about Perl club." -- Chip Salzenberg
In reply to Re: Perl & rasmol script
by davorg
in thread Perl & rasmol script
by editi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |