So __LINE__ is tricky eh?  Wants to be an array?

Tried &tracking(__LINE__); and got only '1'.  Resorted to:

@line = __LINE__; &tracking(@line);

....at the end of each line in the script ending with ';' or '}', and had to
receive it in the sub like this:

$line = $_[0];

The sub reads and writes to a file similar to this:

1 5
2 5
3 2
4 2
5 0
6 5
7 5
8 4
9 4
10 4
....
2243 2

Keeps track the number of times a line has been executed.  I'll be looking
primarily for the '0's.

Considered but did not try the suggested modules, although I may try the one
that tracks sub run time.

Thanks for all the help.

Gary



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

Reply via email to