On Wed, Nov 26, 2003 at 03:50:57PM -0500, Amit Phatak wrote: > I have a fortran program calling a perl script for various parsing > activities for multiple number of times. I wish to increment a variable by > 1 in the PERL SCRIPT (not the fortran program) to have a record of how many > times the script has been called. In simple words, i have a variable > $count in the perl script.. I wisth to $count++ everytime the script is > called by the fortran program.
And the question is? If you just want a canned solution, take a look at perldoc -q increment. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]