Implemented that. Not exaclty what you said but something very similar.

Thanks for the help.

Amit


----Original Message Follows----
From: "Wagner, David --- Senior Programmer Analyst --- WGO" <[EMAIL PROTECTED]>
To: "Amit Phatak" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
Subject: RE: Count the no of times a script is called
Date: Wed, 26 Nov 2003 12:56:29 -0800


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. ****************************************************************

_________________________________________________________________
Groove on the latest from the hot new rock groups! Get downloads, videos, and more here. http://special.msn.com/entertainment/wiredformusic.armx



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



Reply via email to