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.
        The only way I see to do this would be to have a simple file holding the count 
and say date, so for a particular date, you would have count and date.  I do not 
belive there is anyway without the script rewriting itself to increment the count 
since th script is called from fortran.  Not saying you can't do it that way, but 
believe a simple file and read would be the easiest.

        The basic assumption is that it is only you doing the processing and not a 
number of individuals calling the same script.

Wags ;)


**********************************************************
This message contains information that is confidential
and proprietary to FedEx Freight or its affiliates.
It is intended only for the recipient named and for
the express purpose(s) described therein.
Any other use is prohibited.
****************************************************************


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to