Count the no of times a script is called

From: Amit Phatak (amitphatak_at_hotmail.com)
Date: 11/26/03


To: beginners@perl.org
Date: Wed, 26 Nov 2003 15:50:57 -0500

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.

Regards,
Amit

=-=-=-=-=
"Every passing minute is another chance to turn it all around"
   - Dialogue from "Vanilla Sky"

AMIT PHATAK | 001-716-553-1355 | http://www.acsu.buffalo.edu/~asphatak

_________________________________________________________________
Gift-shop online from the comfort of home at MSN Shopping! No crowds, free
parking. http://shopping.msn.com



Relevant Pages

  • Re: perl to fortran thoughts
    ... party that processes an html form. ... When I recreated the html form on my ... My premise is that since any perl script would decode the input to get ... passes it on to this fortran program without ever looking at, ...
    (comp.lang.perl.misc)
  • Re: perl to fortran thoughts
    ... When I recreated the html form on my ... end, initially identical to the third party form, things worked perfectly. ... My premise is that since any perl script would decode the input to get ... passes it on to this fortran program without ever looking at, ...
    (comp.lang.perl.misc)
  • Re: Count the no of times a script is called
    ... >>I have a fortran program calling a perl script for various parsing ... >>activities for multiple number of times. ... >>times the script has been called. ...
    (perl.beginners)
  • perl to fortran thoughts
    ... When I recreated the html form on my ... end, initially identical to the third party form, things worked perfectly. ... My premise is that since any perl script would decode the input to get ... to this fortran program without ever looking at, ...
    (comp.lang.perl.misc)
  • Re: ipchains syntax question
    ... >> put multiple IP address into a single line (chains)? ... >> way of writing this to get it to work? ... Just wrap it into a perl script ...
    (comp.os.linux.security)