Think about Loose Coupling | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
What I need is a script that will: 1. Create input files 2. Run qchem jobs 3. Parse output 4. Plot the data The input files will consider Atom 1 and Atom 2. We will also consider the atomic radii r_min and r_max and need information on delta_r. Concerning the r values, the script should read in arguments, re-print arguments, and print a list of the r's. I would start by asking questions about my needs and address them one by one. Your input files:
Take each of the questions you have and find a way to do it in Perl. Write yourself a script that does just enough to prove you have the concept down, then move on to the next question/piece. By the time you get done, you will probably have a lot better idea of what scripting in general means and how it is approached in Perl. As you go along, you will probably have questions that you can ask here. Some of the answers you get will refer to Perl Modules from CPAN which can in some cases make your work less cumbersome by leveraging other peoples work. I would not worry about that to start. Just take your first question and learn about how you might come up with an answer. That is how I learned to write Perl code. Once you get going, the concepts come faster and faster. Hope that is encouraging, and maybe a bit helpful too. ...the majority is always wrong, and always the last to know about it... A solution is nothing more than a clearly stated problem... In reply to Re: Perl and qchem
by wjw
|
|